Appearance
ts config
View and modify the ts client's own settings.
Usage
text
ts config
ts config --server=<url>Description
ts config on its own prints the current client settings and where they are stored.
ts config --server=<url> records a default server, so subsequent commands need no --server flag. This is the single-server case, which is most of them.
These settings belong to ts on this machine and this account. They are not server state — changing them affects nothing except which server your next command talks to.
The stored default is the lowest-priority way to pick a server. A --server flag on the command line wins over it, and the TSSERVER environment variable sits between the two — useful for pointing a whole shell session or a CI job at one server without touching stored settings.
Credentials are stored separately, per server, by ts login — changing the default server does not sign you in or out of anything.
Examples
bash
# What am I pointed at?
ts config
# Point at a server by default
ts config --server=https://turbo.example.net
# Override for one command
ts workspaces --server=https://staging.example.net
# Override for a whole shell session
export TSSERVER=https://staging.example.net
ts workspacesFiles
| Path | Contents |
|---|---|
~/.config/turbo-server/settings.json | The default server and other client settings. |
~/.config/turbo-server/credentials.json | Stored logins, one per server. Created with owner-only permissions. |
On Windows these live under %LOCALAPPDATA%\turbo-server\.
Exit Codes
0 on success. -1 when the value given to --server is not a usable http or https URL.
