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

# CLI Overview

> Getting started with the TensorPool CLI

The TensorPool CLI (`tp`) is a command-line interface for managing your GPU clusters, storage, and other resources.

## Installation

Install the CLI using pip:

```bash theme={null}
pip install tensorpool
```

## Configuration

Set your API key as an environment variable:

```bash theme={null}
export TENSORPOOL_KEY="your_api_key_here"
```

To make it persistent, add it to your shell profile:

**For bash users:**

```bash theme={null}
echo 'export TENSORPOOL_KEY="your_api_key_here"' >> ~/.bashrc
source ~/.bashrc
```

**For zsh users:**

```bash theme={null}
echo 'export TENSORPOOL_KEY="your_api_key_here"' >> ~/.zshrc
source ~/.zshrc
```

<Note>
  Get your API key from the [dashboard](https://tensorpool.dev/dashboard/profile)
</Note>

## Command Structure

The CLI is organized into several command groups:

* **`tp cluster`** - Manage GPU clusters
* **`tp storage`** - Manage storage volumes
* **`tp object-storage`** - Manage S3-compatible object storage
* **`tp ssh`** - SSH into cluster instances
* **`tp job`** - Manage training jobs
* **`tp me`** - View account information and manage SSH keys

## Common Options

Most commands support the following options:

* `--help` - Show help for a command
* `--org` / `--organization` - Operate on organization resources (where applicable)
* `--no-input` - Disable interactive prompts (useful for scripts and CI/CD)
* `-v`, `--version` - Show the CLI version

## Next Steps

* [Cluster Commands](/cli/cluster-commands)
* [Storage Commands](/cli/storage-commands)
* [Object Storage Commands](/cli/object-storage-commands)
* [SSH Commands](/cli/ssh-commands)
* [Job Commands](/cli/job-commands)
* [Account Commands](/cli/account-commands)
