> ## Documentation Index
> Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Get Prism installed on your machine.

## Prerequisites

Before installing Prism, ensure your environment meets the following requirements:

* **Rust**: 1.77 or higher
* **Node.js**: 20 or higher
* **pnpm**: 9 or higher (for monorepo development)

## Install CLI

<Tabs>
  <Tab title="Cargo">
    The easiest way to install Prism is via Cargo:

    ```bash theme={null}
    cargo install prism
    ```
  </Tab>

  <Tab title="Pre-built Binaries">
    Download the latest binary for your platform from the [GitHub Releases](https://github.com/prism-soroban/prism/releases) page.

    * `prism-linux-x86_64`
    * `prism-macos-aarch64`
    * `prism-windows-x86_64.exe`
  </Tab>

  <Tab title="From Source">
    <Steps>
      <Step title="Clone the Repository">
        ```bash theme={null}
        git clone https://github.com/prism-soroban/prism.git
        cd Prism
        ```
      </Step>

      <Step title="Install Dependencies">
        ```bash theme={null}
        pnpm install
        ```
      </Step>

      <Step title="Build the Binary">
        ```bash theme={null}
        cargo build --release
        ```
      </Step>

      <Step title="Verify Installation">
        ```bash theme={null}
        ./target/release/prism --version
        ```
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Accessing RPC

Prism requires access to a Soroban RPC endpoint to fetch transaction data.

* **Testnet/Mainnet**: Works out of the box using public endpoints.
* **Custom**: Use the `--rpc-url` flag or set the `SOROBAN_RPC_URL` environment variable.
