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

Rate this page: