logoRestFlow

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

Install Restflow globally to use it anywhere:

npm install -g @restflow/cli

Verify the installation:

restflow --version

Project-specific Installation

Install Restflow in your project:

npm install --save-dev @restflow/cli

Use with npx:

npx restflow --version

Using Different Package Managers

Yarn:

# Global
yarn global add @restflow/cli

# Project-specific
yarn add --dev @restflow/cli

pnpm:

# Global
pnpm install -g @restflow/cli

# Project-specific
pnpm add -D @restflow/cli

Verification

After installation, verify Restflow is working:

restflow --help

You should see the help menu with available commands and options.

Update

Keep Restflow up to date:

npm update -g @restflow/cli

Troubleshooting

Permission Issues (macOS/Linux):

sudo npm install -g @restflow/cli

Clear npm cache:

npm cache clean --force

Next Steps

Ready to create your first flow? Continue to Quick Start.