githubEdit

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 herearrow-up-right):

/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 --version

Install Pop CLI with Homebrew

brew install r0gue-io/pop-cli/pop

1.2 Build from source (any OS)

Firstly, install Rust:

And now build pop-cli from source and install it:

Note: Pop CLI requires Rust 1.90 or later.

2. Set up your environment

Need help?

Ask on Polkadot Stack Exchangearrow-up-right (tag it poparrow-up-right) or drop by our Telegramarrow-up-right. We're here to help!

Last updated

Was this helpful?