> ## Documentation Index
> Fetch the complete documentation index at: https://tbd-6fc993ce-mason-add-copy-page-to-context-menu.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Kernel CLI

The Kernel CLI helps you access and manage your Kernel resources.

## Installation

```bash theme={null}
# Using brew
brew install onkernel/tap/kernel

# Using pnpm
pnpm install -g @onkernel/cli

# Using npm
npm install -g @onkernel/cli
```

Verify installation:

```bash theme={null}
which kernel
kernel --version
```

<Columns cols={2}>
  <Card icon="key" title="Authentication" href="/reference/cli/auth">
    Login, logout, and check auth status.
  </Card>

  <Card icon="browsers" title="Browsers" href="/reference/cli/browsers">
    Create, view, and manage Kernel browsers.
  </Card>

  <Card icon="rocket" title="Apps" href="/reference/cli/apps">
    Deploy apps, invoke actions, and stream logs.
  </Card>
</Columns>

## Quick Start

```bash theme={null}
# 1) Login
kernel login

# 2) Deploy your app
kernel deploy index.ts

# 3) Invoke your app
kernel invoke my-app action-name --payload '{"key":"value"}'
```

## Global Flags

* `--version`, `-v` - Print the CLI version
* `--no-color` - Disable color output
* `--log-level <level>` - Set the log level (trace, debug, info, warn, error, fatal, print)

<Info>
  Looking for the API? See the [API Reference](/api-reference/invocations/invoke-an-action).
</Info>
