Docs
Submit an issue
CLI
CLI
  • Get Started with Pop CLI
  • Installing Pop CLI
    • macOS
    • Linux
  • Smart Contracts
  • Appchains on Polkadot
Powered by GitBook
On this page
  • For Fedora
  • For OpenSUSE
  • Install Rust
  • Install Pop CLI

Was this helpful?

  1. Installing Pop CLI

Linux

These instructions will guide you on installing the necessary prerequisites for Linux to install Pop CLI and use all its features.

PreviousmacOS

Last updated 9 months ago

Was this helpful?

Help improve this documentation. Check our .

For Fedora

sudo dnf update
sudo dnf install clang curl git openssl-devel make protobuf-compiler

For OpenSUSE

sudo zypper install clang curl git openssl-devel llvm-devel libudev-devel make protobuf

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Don't forget to update the shell to include the necessary environment variables.

source $HOME/.cargo/env

You should now have Rust installed. Double check.

rustc --version

Now let's configure the Rust toolchain.

rustup default stable
rustup update
rustup target add wasm32-unknown-unknown

And add the nightly release channel.

rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

You can confirm your Rust toolchain was installed properly with the following commands.

rustup show
rustup +nightly show

Awesome. The environment has now been set up. We are now ready to install and use Pop CLI.

Install Pop CLI

To install Pop CLI run the following command

cargo install --force --locked pop-cli

Confirm that Pop CLI is installed by running pop --help in your terminal

pop --help
contribution guidelines