Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 1.18 KB

File metadata and controls

60 lines (45 loc) · 1.18 KB
title Kernel CLI

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

Installation

# Using brew
brew install onkernel/tap/kernel

# Using pnpm
pnpm install -g @onkernel/cli

# Using npm
npm install -g @onkernel/cli

Verify installation:

which kernel
kernel --version
Login, logout, and check auth status. Create, view, and manage Kernel browsers. Deploy apps, invoke actions, and stream logs.

Quick Start

# 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)
Looking for the API? See the [API Reference](/api-reference/invocations/invoke-an-action).