Skip to main content
Version: 0.11.11

Installation

NodeJS SDK Installation Guide​

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": "^22.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"dependencies": {
"@fluvio/client": "^0.14.9"
}
}