To ensure you have a successful experience developing with Ignite CLI, make sure that your local system meets these technical requirements.
Ignite CLI is supported for the following operating systems:
- GNU/Linux
- macOS
- Windows Subsystem for Linux (WSL)
This installation method removes existing Go installations, installs Go, and sets the environment variables.
-
Install the latest version of Go.
-
Download the release that is suitable for your system.
-
Follow the installation instructions.
Note: We recommend not using brew to install Go.
Ensure the Go environment variables are set properly on your system. Many of the initial problems are related to incorrect environment variables.
- Edit your
~/.bashrc
file and addexport PATH=$PATH:$(go env GOPATH)/bin
. - To apply the changes, run
source ~/.bashrc
.
Before you install a new version of Ignite CLI, remove all existing installations.
-
Remove the Ignite CLI binary with
rm $(which ignite)
Depending on your user permissions, run the command with or without
sudo
. -
Repeat this step until all Ignite CLI installations are removed from your system.
curl https://get.ignite.com! | bash`
See Install Ignite CLI.
git clone --depth=1 [email protected]:ignite/cli.git
-
After you clone the
cli
repo, change into the root directorycd cli
. -
Run
make install
.
To verify the version of Ignite CLI that is installed, run ignite version
.