Install Pop CLI
1. Install Pop CLI
1.1 For macOS and Linux (Homebrew)
Install Homebrew (if not installed)
Run the official installer (more info here):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Add Homebrew to your PATH (if the installer didn’t do it for you):
macOS (Apple Silicon):
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$([ -x /opt/homebrew/bin/brew ] && /opt/homebrew/bin/brew shellenv)"Linux:
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.profile
eval "$([ -x /home/linuxbrew/.linuxbrew/bin/brew ] && /home/linuxbrew/.linuxbrew/bin/brew shellenv)"Verify:
brew --versionInstall Pop CLI with Homebrew
brew install r0gue-io/pop-cli/pop1.2 Build from source (any OS)
Firstly, install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shAnd now build pop-cli from source and install it:
cargo install --force --locked pop-cliNote: Pop CLI requires Rust 1.90 or later.
2. Set up your environment
pop installNeed help?
Ask on Polkadot Stack Exchange (tag it pop) or drop by our Telegram. We're here to help!
Last updated
Was this helpful?