CLI

Rate this page:

Forge CLI

The Forge CLI is the command line interface for building and deploying Forge apps.

Getting started

For a complete getting started guide on Forge, see the getting started guide.

The Forge CLI requires a minimum of Node JS 10.0.0 and above. It is recommended that you install Node JS via Node version manager.

To install the CLI, run:

1
npm i -g @forge/cli@latest

To login, run:

1
forge login

Upgrading

To upgrade the Forge CLI, completely remove the Forge CLI and install it again.

1
2
npm uninstall -g @forge/cli
npm i -g @forge/cli@latest

Rate this page: