> ## 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.

# Quickstart

> Send dollars, then create an asset, send it to someone, and freeze their account, on devnet in about 8 minutes. No Solana experience needed.

<div className="sol-stepper not-prose" data-path="quickstart">
<div className="sol-stepper-nav" role="navigation" aria-label="Quickstart · ~8 min">
<ol>
<li data-state="todo"><a href="/developers/docs/quickstart/check-balance"><span className="sol-stepper-n">Step 1<span className="sol-vh">: </span></span><span className="sol-stepper-t">Check a balance</span></a></li>
<li data-state="todo"><a href="/developers/docs/quickstart/send-dollars"><span className="sol-stepper-n">Step 2<span className="sol-vh">: </span></span><span className="sol-stepper-t">Send dollars</span></a></li>
<li data-state="todo"><a href="/developers/docs/quickstart/create-asset"><span className="sol-stepper-n">Step 3<span className="sol-vh">: </span></span><span className="sol-stepper-t">Create an asset</span></a></li>
<li data-state="todo"><a href="/developers/docs/quickstart/send-asset"><span className="sol-stepper-n">Step 4<span className="sol-vh">: </span></span><span className="sol-stepper-t">Send the asset</span></a></li>
<li data-state="todo"><a href="/developers/docs/quickstart/freeze-holder"><span className="sol-stepper-n">Step 5<span className="sol-vh">: </span></span><span className="sol-stepper-t">Freeze a holder</span></a></li>
</ol>
</div>
</div>

Get a feel for how Solana works, no experience needed. In five short steps on
devnet, Solana's free test network, you create a wallet and send test dollars
(USDC), then create an asset, like a share or a currency, send it to someone,
and freeze their account.

<div className="sol-pg-tutorial not-prose" data-path="quickstart">
<div className="sol-pg-tutorial-copy">
<p className="sol-pg-tutorial-lead">Try it in your browser</p>
<p className="sol-pg-tutorial-text">It runs on devnet from your Playground wallet, with nothing to install. If the wallet needs devnet SOL, Playground links you to the free faucet first.</p>
</div>
Run in Playground: open https://solana.com/developers/docs/quickstart in a browser.
</div>

Playground runs steps 1, 3, 4, and 5. Step 2, Send dollars, needs the local
setup below.

## Follow along locally

<Tabs>
  <Tab title="Start with an agent">
    ```bash Terminal
    npx add-mcp https://mcp.solana.com/mcp -n solana-mcp -g -y
    ```

    Ask your agent to follow this Quickstart with you.
  </Tab>
  <Tab title="Follow along manually">
    One command installs Rust, the Solana CLI, Anchor CLI, Surfpool CLI,
    Node.js, and Yarn, plus the Solana agent skills for AI coding agents
    (globally):

    <div className="sol-os-tabs">
      <Tabs>
        <Tab title="macOS">
          Run the installer in Terminal:

          ```bash Terminal
          curl --proto '=https' --tlsv1.2 -sSfL https://solana-install.solana.workers.dev | bash
          ```
        </Tab>
        <Tab title="Linux">
          Run the installer in your terminal. It also installs system
          dependencies through your package manager.

          ```bash Terminal
          curl --proto '=https' --tlsv1.2 -sSfL https://solana-install.solana.workers.dev | bash
          ```
        </Tab>
        <Tab title="Windows">
          The tools run in Linux on Windows (WSL).

          1. In Windows PowerShell, install WSL, then restart Windows if
             prompted:

             ```powershell PowerShell
             wsl --install
             ```

          2. Open the **Ubuntu** terminal and run the installer there:

             ```bash Terminal
             curl --proto '=https' --tlsv1.2 -sSfL https://solana-install.solana.workers.dev | bash
             ```

          See [Install dependencies](/developers/docs/intro/installation/dependencies)
          for the complete WSL setup.
        </Tab>
      </Tabs>
    </div>

    You can [review the installer
    source](https://github.com/solana-developers/solana-install/blob/main/install.sh)
    before running it. It ends with a summary of what it installed (your
    version numbers may differ):

    ```txt title="Installer summary"
    Installed Versions:
    Rust: rustc x.y.z (...)
    Solana CLI: solana-cli x.y.z (..., client:Agave)
    Anchor CLI: anchor-cli x.y.z
    Surfpool CLI: surfpool x.y.z
    Node.js: vx.y.z
    Yarn: x.y.z
    ```

    <Note>
      The installer may print these two lines:

      ```txt
      [ERROR] Surfpool version x.y.z installed, but 1.4.0 was requested.
      [ERROR] Failed to install Surfpool.
      ```

      It installs the latest Surfpool release, then rejects it because the
      version differs from the one it pins. If `surfpool --version` prints a
      version, Surfpool works and you can ignore both lines.
    </Note>

    Then restart your terminal so the new commands are on your `PATH`, and
    check every tool. Each command prints its version, for example
    `solana-cli x.y.z (..., client:Agave)` or `anchor-cli x.y.z`:

    ```bash Terminal
    rustc --version
    solana --version
    anchor --version
    surfpool --version
    node --version
    yarn --version
    ```

    <Warning>
      **Installer failed or a command is missing?** Install or troubleshoot
      each tool on its own with [Install dependencies](/developers/docs/intro/installation/dependencies).
    </Warning>

    [Then continue to step 1 →](/developers/docs/quickstart/check-balance)
  </Tab>
</Tabs>

## What you'll do

The code is TypeScript with [`@solana/kit`](/developers/docs/clients/official/javascript)
and its plugins. Each step is one short file you run with `npx tsx`. A **CLI** tab does the
same with the Solana CLI and `spl-token`.

<div className="sol-pcard not-prose" data-path="quickstart">
<div className="sol-pcard-main">
<p className="sol-pcard-k">Send your first transaction · <span className="sol-nowrap">5 steps · \~8 min</span></p>
<p className="sol-pcard-title">[Quickstart](/developers/docs/quickstart/check-balance)</p>
<p className="sol-pcard-desc">Send dollars, then create an asset, send it to someone, and freeze their account, on devnet in about 8 minutes.</p>
<ol className="sol-pcard-steps"><li>[Check a balance](/developers/docs/quickstart/check-balance)</li><li>[Send dollars](/developers/docs/quickstart/send-dollars)</li><li>[Create an asset](/developers/docs/quickstart/create-asset)</li><li>[Send the asset](/developers/docs/quickstart/send-asset)</li><li>[Freeze a holder](/developers/docs/quickstart/freeze-holder)</li></ol>
</div>
<p className="sol-pcard-cta">[Start the tutorial →](/developers/docs/quickstart/check-balance)</p>
</div>
