Skip to main content

Install the TensorPool CLI

Install the CLI using pip:
pip install tensorpool
Verify the installation:
tp --version

Configure Your API Key

Set your API key as an environment variable:
export TENSORPOOL_API_KEY="your_api_key_here"
Get your API key from the TensorPool dashboard

Make It Persistent

To avoid setting the API key every time you open a new terminal, add it to your shell profile.
Not sure which shell you’re using? See the Shell Configuration guide to learn about different shells and how to determine which one you have.
  • Zsh
  • Bash
  • Fish
echo 'export TENSORPOOL_API_KEY="your_api_key_here"' >> ~/.zshrc
source ~/.zshrc

Verify Your Setup

Check that everything is configured correctly:
tp me
This displays your account information, confirming that your API key is working.

Next Steps