❶ 安装Rust

brew install rust

Ubuntu版本:

~~curl --proto '=https' --tlsv1.2 -sSf [<https://sh.rustup.rs>](<https://sh.rustup.rs/>) | sh~~

~~source $HOME/.cargo/env~~

❷ 安装SolanaCLI

brew install solana

Ubuntu版本:

~~curl --proto '=https' --tlsv1.2 -sSfL <https://solana-install.solana.workers.dev> | bash~~

❸ 安装BackPack钱包

https://chromewebstore.google.com/detail/backpack/aflkmfhebedbjioipglgcbcmnbpgliof

❹ 生成Solana密钥

solana-keygen new