Environment Setup Install Rust from https://rustup.rs/ Install Solana v1.6.2 or later from https://docs.solana.com/cli/install-solana-cli-tools#use-solanas-install-tool Build and test for program compiled natively $ cargo build $ cargo test Build and test the program compiled for BPF $ cargo build-bpf $ cargo test-bpf