Guides
Here you will find useful notes and recipes that will help in difficult times. Have something to share? Write to us at info@tuna.am.
Installation
6 items
Update
Updating the client to the latest version
Migrating to sessions and API keys
What changed in tuna-cli 0.39 sign-in, how to migrate from TUNA_TOKEN to sessions and API keys on a laptop, server, CI, Docker, services, Terraform and Kubernetes.
Skills for AI agents
The tuna skills command installs a skill that teaches AI agents to work with tunnels, secrets and monitors
API
API overview and access
Autocompletion
Command autocompletion by pressing TAB
Configuration File
Configuration through a configuration file
Configuration Priority
Rules for overriding settings
Using tuna in a corporate network
Connection diagnostics and tuna addresses for firewall rules
Environment Variables
List of environment variables used with tuna
Connecting through a SOCKS5 proxy
How to run the tuna CLI on a network where the only way out to the internet is a SOCKS5 proxy — the --proxy flag, the TUNA_PROXY variable, and the proxy key in the config file
Removal
Removing the client
SSH Keys
SSH keys management page
Terraform
Manage tuna domains, gateways, tokens and policies with Terraform and OpenTofu