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

# KmerHosting CLI

> The official terminal client for account, services, domains, invoices, orders, notifications, and renewal automation.

KmerHosting CLI is published as `@kmerhosting/cli` and uses the official TypeScript SDK.

<Frame caption="The CLI exposes read-only account commands and a controlled auto-renewal command.">
  <img src="https://mintcdn.com/kmerhosting-a736a8a9/qmzUGdL1AajWuhXn/images/screenshots/cli-terminal.png?fit=max&auto=format&n=qmzUGdL1AajWuhXn&q=85&s=ac1a5769951a87afaa35948c8ec4671a" alt="The CLI exposes read-only account commands and a controlled auto-renewal command." width="1600" height="900" data-path="images/screenshots/cli-terminal.png" />
</Frame>

## Install

```bash theme={null}
npm install --global @kmerhosting/cli
```

## Authenticate

Set `KMERHOSTING_API_KEY` in the environment. Do not pass the key as a visible command-line argument.

```bash theme={null}
export KMERHOSTING_API_KEY="kh_live_REDACTED"
```

## Main commands

```bash theme={null}
kh account
kh services
kh services vps
kh domains
kh invoices
kh orders
kh notifications --unread
kh auto-renew vps SERVICE_ID on
```

<CardGroup cols={2}>
  <Card title="CLI guide" href="/docs/developer/cli" icon="book-open">Installation, authentication, examples, and troubleshooting.</Card>
  <Card title="Source repository" href="https://github.com/KmerHosting/kmerhosting_sdk/tree/main/packages/cli" icon="github">Review the CLI source in the SDK monorepo.</Card>
</CardGroup>
