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 an LTS version of Node JS installed. We recommend that you install Node JS via Node version manager.

To install the CLI, run:

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

To login, run:

1
2
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: