environments
install
providers
settings
storage
variables

Getting started with the Forge CLI

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

For detailed instructions on setting up your Forge development environment, refer to our getting started guide.

To install the CLI, run:

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

To log in, 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

Supported versions

Each CLI version will only be supported 6 months after release. After this period, the CLI version will be no longer be supported. We recommend regularly updating to the latest CLI version to benefit from new features and improvements.

Rate this page: