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

# Setup / Installation

> Setup your environment and install BOLT

## Install Dependencies

#### Rust

Install [Rust](https://www.rust-lang.org/tools/install)

#### Solana

Install [Solana](https://docs.solanalabs.com/cli/install)

#### Node

Install [NodeJs](https://nodejs.org/)

#### Yarn

Install [Yarn](https://yarnpkg.com/getting-started/install)

## Development Wallet

Run `solana-keygen new` to create a keypair at the default location.
Anchor uses this keypair to run your program tests.

## BOLT

BOLT is built on top of Anchor, therefore having a general knowledge of Anchor will give you the necessary tool to build the game logic.

We recommend reading the core concepts of the [Anchor docs](https://www.anchor-lang.com/docs/basics)

Install BOLT

<CodeGroup>
  ```bash NPM theme={null}
  npm install -g @magicblock-labs/bolt-cli
  ```

  ```bash Yarn theme={null}
  yarn global add @magicblock-labs/bolt-cli
  ```
</CodeGroup>

Verify the installation

```bash theme={null}
bolt -h
```
