Node SDK Installation Guide
 

Install Node tools

Install Node.js (v16.11.0 or above)

We are using npm as package manager.

 

Create New Node project for Fluvio development

Run the following commands to set up your project for development:

mkdir fluvio-demo && cd fluvio-demo
npm init -y
npm install -D typescript ts-node @types/node
npm install -S @fluvio/client

And your package.json should look similar to the following:

{
 "name": "fluvio-demo",
 "version": "1.0.0",
 "description": "",
 "main": "index.js",
 "scripts": {
   "test": "echo \"Error: no test specified\" && exit 1"
 },
 "keywords": [],
 "author": "",
 "license": "ISC",
 "devDependencies": {
   "@types/node": "^20.2.5",
   "ts-node": "^10.8.1",
   "typescript": "^5.3.3"
 },
 "dependencies": {
   "@fluvio/client": "^0.14.6"
 }
}