Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.4 KB

INSTALL.md

File metadata and controls

54 lines (40 loc) · 1.4 KB

Installation for Mac OS (Intel / M1 / M2)

Basics

  • Xcode command line tools
    • xcode-select --install
  • Homebrew
  • Rust
    • brew install rustup-init
    • rustup target add wasm32-unknown-unknown
  • Protoc
    • brew install protobuf

Services

Additional tooling required by tests

  • brew install jq
  • cargo install cargo-rdme
  • cargo install cargo-sort
  • cargo install cargo-all-features
  • cargo install cargo-machete

Installation for Linux

Basics

  • Rust
    • curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    • rustup target add wasm32-unknown-unknown
  • Protoc
    • curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.11/protoc-21.11-linux-x86_64.zip
    • unzip protoc-21.11-linux-x86_64.zip -d $HOME/.local
    • If ~/.local is not in your path, add it: export PATH="$PATH:$HOME/.local/bin"

Alternatively, we have added experimental Nix support (see flake.nix).

Services

Additional tooling

  • sudo apt-get install jq
  • cargo install cargo-rdme
  • cargo install cargo-sort
  • cargo install cargo-all-features
  • cargo install cargo-machete