The surfpool CLI can be installed using the install script or built from source.
Install Script
To install surfpool, open a terminal and run:
curl -sL https://run.surfpool.run/ | bash
Install from Source
To compile the Surfpool binary from source, clone the surfpool repository.
git clone https://github.com/solana-foundation/surfpool.git
Navigate to the new directory.
cd surfpool
Then, compile the binary. This command will compile the binary and store it in
~/.cargo/bin/surfpool.
cargo surfpool-install
Finally, make sure that the surfpool binary is available on your PATH. This
process will differ depending on your operating system.
Is this page helpful?