# Tanagram CLI

## Quick Start

```bash
# Install
npm install -g @tanagram/cli

# Log in
tanagram login
```

## Commands

```bash
tanagram login     # Log in to your Tanagram account
tanagram logout    # Log out of your Tanagram account
tanagram version   # Show the CLI version
tanagram help      # Show available commands
```

## Authentication

`tanagram login` opens your browser to authorize the CLI with your Tanagram account. The CLI starts a temporary localhost server to receive the authorization callback from the browser. Once authorized, a session token is stored at `~/.tanagram/token`.

Set `TANAGRAM_TOKEN` to skip interactive login (useful for CI/CD).

## Requirements

- Node.js >= 14.0.0

---

Built by [@MattMolinar](https://x.com/MattMolinar) and the [Tanagram](https://web.tanagram.ai) team.
