Tasmanian Cloud documentation
CLI Reference
Command-line interface for tasmanian.cloud
The tasmanian-cloud CLI calls the REST API. It provides a command-line client for the same resources, runs, events, and outputs used by the portal and SDKs.
Installation
curl -fsSL https://get.tasmanian.cloud/cli | shiwr -useb https://get.tasmanian.cloud/cli.ps1 | iexbrew install tasmanian-cloud/tap/tcAuthentication
# Login via browser
tc auth login
# Or use API key directly
tc auth login --api-key YOUR_API_KEY
# Verify authentication
tc auth whoamiConfiguration
# Set default region
tc config set region tas-1
# View current config
tc config listCommands
VPS Management
List your VPS instances:
tc vps listCreate a new VPS:
tc vps create --name my-server --size standard-2vcpu-4gbGet VPS details:
tc vps get my-serverSSH into a VPS:
tc vps ssh my-serverDelete a VPS:
tc vps delete my-serverTemplates (Self-Hosted Apps)
List available templates:
tc templates listDeploy a template:
tc templates deploy postgres --name my-dbView deployed apps:
tc templates statusRemove a deployed app:
tc templates remove my-dbSaga runs
Start a system definition that includes compute, Compose, Ansible, or Terraform/OpenTofu work:
tc saga validate ./saga.yaml
tc saga plan ./saga.yaml
tc saga apply ./saga.yaml
tc saga status --run RUN_IDThe run ID links the CLI output to the portal, API events, and webhook notifications.
Kubernetes
List clusters:
tc k8s listCreate a cluster:
tc k8s create --name my-cluster --nodes 3Get kubeconfig:
tc k8s kubeconfig my-cluster > ~/.kube/configDelete cluster:
tc k8s delete my-clusterStorage
List buckets:
tc storage bucketsCreate a bucket:
tc storage create-bucket my-bucketGenerate S3 credentials:
tc storage credentials create --bucket my-bucketList objects:
tc storage ls s3://my-bucket/Networking
List private networks:
tc network listCreate a private network:
tc network create --name my-network --cidr 10.0.0.0/24Add VPS to network:
tc network attach my-network --vps my-serverGet VPN config:
tc network vpn-config my-networkOutput Formats
JSON output:
tc vps list --output jsonTable output (default):
tc vps list --output tableYAML output:
tc vps list --output yamlQuiet mode (IDs only):
tc vps list --quietEnvironment Variables
| Variable | Description |
|---|---|
TC_API_KEY | API key for authentication |
TC_REGION | Default region (tas-1) |
TC_OUTPUT | Default output format |
Shell Completion
# Bash
tc completion bash > /etc/bash_completion.d/tc
# Zsh
tc completion zsh > "${fpath[1]}/_tc"
# Fish
tc completion fish > ~/.config/fish/completions/tc.fishTroubleshooting
Debug Mode
# Enable verbose logging
tc --debug vps list
# Check API connectivity
tc debug connectivityCommon Issues
Authentication failed
# Re-authenticate
tc auth logout
tc auth loginRegion not available
# List available regions
tc regions list