Installation
How to install Restflow CLI tool
Get Restflow up and running in minutes with these simple installation methods.
Prerequisites
- Node.js: Version 18 or higher
- Package Manager: npm, yarn, or pnpm
Installation Methods
Global Installation (Recommended)
Install Restflow globally to use it anywhere:
npm install -g @restflow/cliVerify the installation:
restflow --versionProject-specific Installation
Install Restflow in your project:
npm install --save-dev @restflow/cliUse with npx:
npx restflow --versionUsing Different Package Managers
Yarn:
# Global
yarn global add @restflow/cli
# Project-specific
yarn add --dev @restflow/clipnpm:
# Global
pnpm install -g @restflow/cli
# Project-specific
pnpm add -D @restflow/cliVerification
After installation, verify Restflow is working:
restflow --helpYou should see the help menu with available commands and options.
Update
Keep Restflow up to date:
npm update -g @restflow/cliTroubleshooting
Permission Issues (macOS/Linux):
sudo npm install -g @restflow/cliClear npm cache:
npm cache clean --forceNext Steps
Ready to create your first flow? Continue to Quick Start.
RestFlow