Skip to content

tg repo clone

Clone a Tangled repository

Clone a Tangled repository into a local directory.

The default destination is the repository name. If only a repository name is given, the authenticated user’s handle is used.

Run “tg auth login” first when using the repository-only form.

tg repo clone <repo | handle/repo> [directory] [flags]
-h, --help help for clone
--account string Account handle or DID to use (overrides the active account and TG_ACCOUNT)
--appview string Appview host URL (overrides config file and TG_APPVIEW) (default "https://bobbin.klbr.net")
--config string Path to config file (default: $XDG_CONFIG_HOME/tg/config.toml)
--json Output in JSON format
  • tg repo - Manage repositories on Tangled