> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kisuke.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI

> Install Kisuke Connect via CLI for servers and headless environments

The CLI is the headless version of Kisuke Connect — the same daemon, without the desktop GUI. Use it for servers and automated environments.

## Install

```bash theme={null}
npm install -g @kisuke/cli@dev
```

On macOS, you can also install via Homebrew:

```bash theme={null}
brew install kisukeapp/tap/kisuke-cli-dev
```

## Run

Once installed, run `kisuke connect` in your terminal:

```bash theme={null}
kisuke connect
```

To see all available commands, run `kisuke` by itself:

```bash theme={null}
kisuke
```

On first run, the CLI will walk you through setup. It starts by checking your system and asking you to agree to the terms:

```
┌  Kisuke Connect v1.1.84
│
◇  Daemon is not running
│
◇  Preflight checks passed
│
●  Before installing, please review our terms and privacy policy:
│
│    Terms:   https://beta.kisuke.dev/terms
│    Privacy: https://beta.kisuke.dev/privacy
│
◇  Do you agree to the Terms of Service and Privacy Policy?
│  Yes
```

Once you agree, the daemon is installed and started:

```
◇  Daemon installed
│
◇  Daemon started
```

A browser window opens for you to sign in with Google or GitHub:

```
◇  Opening browser for authentication...
│
◇  Authentication successful
│
◆  Logged in as you@example.com
│
◆  Daemon running (PID 63348)
│
└  Done
```

<Warning>
  Having trouble authenticating on a VPS or headless server? See [CLI Troubleshooting](/troubleshooting/cli).
</Warning>
