Skip to content

tg repo clone

Clone a repository

Clone a Tangled repository into a local directory.

The destination defaults to the repository name. Pass a directory to choose a different destination.

When you pass only a repository name, tg uses your account as the owner. This form requires login. A handle/repo or repository DID does not.

tg repo clone <repo | handle/repo | repo-did> [directory] [flags]
-h, --help help for clone
--account string Account handle or DID
--appview string Appview URL (default "https://bobbin.klbr.net")
--config string Config file (default: $XDG_CONFIG_HOME/tg/config.toml)
--json Print JSON output