Installing the CLI (tcloud)

Installing the Thalassa Cloud CLI (tcloud)

The Thalassa Cloud CLI (tcloud) helps you manage your Thalassa Cloud resources from the command line. This guide shows you how to install it.

Prerequisites

  • macOS, Linux, or Windows
  • For Homebrew installation: macOS with Homebrew installed
  • For binary installation: curl or wget

Installation Methods

Using Homebrew (Recommended for macOS)

  1. Add the Thalassa Cloud tap:

    brew tap thalassa-cloud/tap
  2. Install tcloud:

    brew install tcloud

Using Binary Installation

  1. Visit the GitHub releases page
  2. Download the binary for your operating system and architecture
  3. Make the binary executable:
    chmod +x tcloud
  4. Move the binary to a directory in your PATH:
    sudo mv tcloud /usr/local/bin/

Verify Installation

Run this command to check if tcloud is installed correctly:

tcloud version

Next Steps

After installation, you need to authenticate with Thalassa Cloud:

tcloud context create --api=https://api.thalassa.cloud --token=<your-token>

Replace <your-token> with your personal access token from Thalassa Cloud.

Troubleshooting

If you see “command not found” after installation:

  1. Make sure the binary is in your PATH
  2. Try restarting your terminal
  3. For Homebrew installations, run brew doctor to check for issues

For more help, visit our GitHub repository.