To ensure you have a successful experience developing with Starport, make sure that your local system meets these technical requirements.
Starport 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 Starport, remove all existing Starport installations.
-
Remove the Starport binary with
rm $(which starport)
Depending on your user permissions, run the command with or without
sudo
. -
Repeat this step until all
starport
installations are removed from your system.
curl https://get.starport.network/starport! | bash
See Install Starport.
git clone --depth=1 [email protected]:tendermint/starport.git
-
After you clone the
starport
repo, change into the root directorycd starport
. -
Run
make install
.
To verify the version of Starport you have installed, run starport version
.
The latest version is Starport version: development
.