---
title: tg
description: A terminal client for Tangled.
template: splash
hero:
tagline: 'A terminal client for Tangled.'
actions:
- text: Get started
link: /cookbooks/authentication/
icon: right-arrow
- text: Command reference
link: /reference/commands/tg/
icon: external
variant: minimal
---
import { Card, CardGrid, LinkCard } from "@astrojs/starlight/components";
## Install
{/* prettier-ignore */}
```bash
brew tap alyraffauf/tap
brew trust alyraffauf/tap
brew install alyraffauf/tap/tg
```
{/* prettier-ignore */}
```bash
nix profile add github:alyraffauf/tg
```
## Quick start
```bash
tg auth login alice.example.com
tg repo clone aly.codes/tg
# Clone by repository DID and use the DID in the origin URL
tg repo clone did:plc:g5uweck3xar3m745g43giuhr
```
## Guides