tensoronecli Installation & Configuration

The tensoronecli tool allows you to manage and interact with Tensor One Clusters and projects effectively. When you create a Cluster, tensoronecli comes pre-installed and pre-configured with a Cluster-scoped API key. However, you can also install and configure it locally by following the instructions below.

Installation

Run the appropriate command based on your operating system:

Linux & macOS

wget -qO- cli.tesorone.ai | sudo bash

Windows

wget https://cli.tensorone.ai/tensoronecli-windows-amd64.exe -O tensoronecli.exe

Configuring tensoronecli

Before using tensoronecli, you need to configure it with an API key:
  1. Log in to the Tensor One web interface.
  2. Navigate to Settings.
  3. Expand API Keys and click + API Key.
  4. Select Read or Read & Write permissions.
  5. Click Create.
Important: Protect your API key. Anyone with access to it can fully control your account.

Add the API key to your local configuration:

tensoronecli config --apiKey your-api-key
You should see a confirmation like:
saved apiKey into config file: /Users/tensorone/.tensorone/config.toml

Verifying Installation

Verify that tensoronecli was installed successfully by checking the version:
tensoronecli version
Expected output:
tensoronecli v1.13.0

Getting Help

For detailed documentation on any command, use the --help flag:
tensoronecli --help