Appearance
ts repo
Show or remove a repository on this server's hub.
Usage
text
ts repos [<filter>] [--csv] [--no-trunc]
ts repo <namespace/name>
ts repo versions <namespace/name>
ts repo delete <namespace/name> [--force]Description
ts repos lists the repositories the hub holds, up to the first 1,000; when the hub returns a full page it says that some repositories may be missing. Pass a filter to narrow it — a plain substring, matched case-insensitively against the full namespace/name. The same repositories appear in the Administration site under Hub → Repositories.
ts repo <namespace/name> shows one repository: its display name, whether it ships with the server, how many revisions it has, its pre-cache setting, and any repositories that depend on it. ts repo versions lists the revisions themselves, one a line — the image id, its tags, and when it was created — including deleted ones, which are marked (deleted).
ts repo delete removes the repository's content and its configuration on this server — the pre-cache setting, workspace wiring, and anything else keyed to it. Both go together: content alone would leave configuration rows pointing at nothing, with no remaining way to reach them. Deletion is not recoverable from the CLI, so it prompts unless you pass --force. If the content is deleted but the configuration cannot be removed, the command reports it and fails, because the deletion has already happened and cannot be retried. Every deletion is recorded in the audit log.
These commands go through the Turbo Server API rather than the hub directly, which is why they use the same sign-in as every other ts command. They need a Server Administrator, and they work the same way whether you are signed in with --server or administering the box directly with --local.
Options
| Flag | Description | Default/Values | Notes |
|---|---|---|---|
--force, -f | Delete without confirming. | Applies to delete. Required when there is no terminal. | |
--csv | Tab-separated output, nothing truncated. | Applies to ts repos. | |
--no-trunc | Do not truncate long values. | Applies to ts repos. |
Examples
bash
# Everything on the hub
ts repos
# Just the Python ones
ts repos python
# What is in this repository?
ts repo turbo/git
# Which revisions exist, including deleted ones
ts repo versions turbo/git
# Remove it, content and configuration together
ts repo delete acme/oldapp --forceOutput
text
REPOSITORY
turbo/git
turbo/pythontext
Repository: turbo/git
Name: Git
System: yes
Pre-cache: None
Created: 2026-03-11T09:22:41Z
Revisions: 6
Used by: acme/build-toolsExit Codes
0 on success. -4 when no account is signed in for this server. -5 when the account is not a Server Administrator. -6 when the repository does not exist. -1 with the reason when this server has no hub, or the hub cannot be reached, and when a deleted repository's configuration could not be removed.
Related Commands
- ts import — Copy a repository in from an upstream server.
