Skip to main content
Version: v6

Setup Title Picture

Rust & Cargo

A pre-requisite for compiling smart contracts is to install a stable Rust version and cargo.

curl https://sh.rustup.rs -sSf | sh

CLI tool

Use the Pop CLI for ink! smart contract development with the greatest developer experience.

Via Homebrew:

brew install r0gue-io/pop-cli/pop

Or Source:

cargo install --force --locked pop-cli

Then set up your environment:

pop install

IDE/Editor support

For VS Code users, we recommend using the ink! analyzer extension (alongside rust-analyzer) for the best editor experience.

For other IDEs/editors with LSP (Language Server Protocol) support (e.g. Vim/Neovim, Emacs, Helix, Zed e.t.c), ink! analyzer provides prebuilt language server binaries for Windows, Linux and macOS.