> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Getting Started

> This guide will get you all set up and ready to install Surfpool.

The `surfpool` CLI can be installed using the install script or built from source.

## Install Script

To install surfpool, open a terminal and run:

```bash
curl -sL https://run.surfpool.run/ | bash
```

## Install from Source

To compile the Surfpool binary from source, clone the surfpool repository.

```bash
git clone https://github.com/solana-foundation/surfpool.git
```

Navigate to the new directory.

```bash
cd surfpool
```

Then, compile the binary. This command will compile the binary and store it in
`~/.cargo/bin/surfpool`.

```bash
cargo surfpool-install
```

Finally, make sure that the `surfpool` binary is available on your PATH. This
process will differ depending on your operating system.
