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
npm i -g @forge/cli@latest
To log in, run:
1
forge login
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
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:
Our new navigation is here to guide you on your developer journey. Dive in and explore the refreshed Forge documentation!