Solana 文档工具链
Surfpool CLI 可通过安装脚本进行安装,也可从源代码编译安装。
安装脚本
要安装 Surfpool,请打开终端并运行:
curl -sL https://run.surfpool.run/ | bash
从源代码安装
要从源代码编译 Surfpool 二进制文件,请克隆 Surfpool 代码仓库。
git clone https://github.com/solana-foundation/surfpool.git
进入新目录。
cd surfpool
然后,编译二进制文件。此命令将编译二进制文件并将其存储在 ~/.cargo/bin/surfpool
中。
cargo surfpool-install
最后,确保 surfpool 二进制文件已添加到您的 PATH 中。此过程因操作系统而异。
Is this page helpful?