# tuna-cli v0.39.0

October 28, 2026

> **Check your scripts.** List commands print a table to stdout, `tuna run` no longer has the `--http` and `--tcp` flags, `tuna postgres` and `tuna redis` no longer have `--inspect`, and on Linux without sudo `tuna service install` sets up a user service. See the [release post](https://tuna.am/en/blog/cli-v0-39-tui-everywhere.md) for what to check when upgrading and the [sessions post](https://tuna.am/en/blog/sessions-and-api-keys.md) for moving from the token to sessions and API keys.

* \[FEATURE] Switches CLI login to device sessions (cli)
* \[FEATURE] Replaces Tuna Token with API keys (cli)
* \[FEATURE] Adds TUI to tuna start, tuna run, tuna app and tuna trigger (cli)
* \[FEATURE] Adds a request feed and app restart to tuna run and tuna start (cli)
* \[FEATURE] Adds TUIs to tuna endpoint, tuna tunnel and tuna api-key (cli)
* \[FEATURE] Adds a TUI and own domains to tuna domain (cli)
* \[FEATURE] Adds a TUI and monitor management subcommands to tuna monitor (cli)
* \[FEATURE] Adds a TUI and a delete subcommand to tuna ssh-session (cli)
* \[FEATURE] Adds --json to tuna domain, endpoint, tunnel, api-key, session, ssh-session and bastion list commands (cli)
* \[ENHANCEMENT] Reworks tuna service with user services, list, logs and a TUI (cli)
* \[ENHANCEMENT] Toggles the inspector and SSH session recording from the TUI without restarting the tunnel (cli)
* \[ENHANCEMENT] Shows connections and traffic in the tuna tcp TUI and hides empty log panels (cli)
* \[ENHANCEMENT] Prints list commands as tables in stdout (cli)
* \[ENHANCEMENT] Deprecates the --location flag and tuna config save-location (cli)
* \[ENHANCEMENT] Removes the --inspect flag from tuna postgres and tuna redis (cli)
* \[BUGFIX] Fixes tuna run hanging on ports that don't answer HTTP (cli)
* \[BUGFIX] Fixes tuna run and tuna tcp for apps listening on IPv6 loopback (cli)
* \[BUGFIX] Fixes inspector port collisions between tunnels started together (cli)
* \[BUGFIX] Fixes list, delete and clear commands seeing only the first 50 resources (cli)
* \[BUGFIX] Fixes tuna trigger exiting with code 0 when its local server fails (cli)
* \[BUGFIX] Fixes CLI trusting only an outdated embedded CA bundle (cli)

**Tags:**

* [cli](https://tuna.am/en/changelog/tags/cli)
