CLI
Installing Tensor One CLI
Installing Tensor One CLI
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 tensoronecli
locally following these instructions.
Installation
Run the appropriate command based on your operating system:
- Linux & MacOS:
wget -qO- cli.tpo.one | sudo bash
- Windows:
wget https://cli.tpo.one/tensoronecli-windows-amd64.exe -O tensoronecli.exe
Configuring tensoronecli
Before using tensoronecli
, configure it with an API key:
- Log in to the Tensor One web interface.
- Navigate to Settings.
- Expand API Keys and click + API Key.
- Select Read or Read & Write permissions.
- Click Create.
Important: Protect your API key. Anyone with access to it can fully control your account.
Next, add the API key to your local tensoronecli
configuration:
tensoronecli config --apiKey your-api-key
You will receive a confirmation similar to:
saved apiKey into config file: /Users/tensorone/.tensorone/config.toml
Verifying Installation
Verify successful installation by checking the installed version:
tensoronecli l version
You should see output like:
tensoronecli l v1.13.0
For detailed documentation on any command, use the --help
flag:
tensoronecli l --help