title | sidebar_label | sidebar_position | slug |
---|---|---|---|
Install Spawn |
Install Spawn |
2 |
/install/install-spawn |
:::note Synopsis Install the Spawn CLI tool to your local machine :::
Install Spawn from source.
# Install from latest source
git clone https://github.com/rollchains/spawn.git --depth 1 --branch v0.50.9
# Change to this directory
cd spawn
# Clear Go modules cache for a fresh install
go clean -modcache
# Install Spawn
make install
# Install Local Interchain (testnet runner)
make get-localic
# Install docker container builder
make get-heighliner
# Verify installations were successful
spawn
local-ic
heighliner
# If you get "command 'spawn' not found", run the following
# Linux / Windows / Some MacOS
echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.bashrc
source ~/.bashrc
# MacOS
echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.zshrc
source ~/.zshrc
# Legacy MacOS Go
echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.zshrc
source ~/.zshrc
# Sometimes it can be good to also clear your cache
# especially WSL users
go clean -cache