CLI Reference > Getting Started

Kresh CLI

The Kresh CLI is the official tool for interacting with the Kresh registry from your terminal. It allows you to search for skills, install them into your projects, and publish your own intelligence modules directly from your codebase.

Installation

The CLI is distributed as an npm package. You can install it globally to make the kresh command available anywhere on your system.

$ npm install -g @chakresh/kresh

Verifying Installation

Once installed, you can verify it by checking the version or viewing the help menu.

$ kresh --version
$ kresh --help

Authentication

While you can search and install public skills without an account, you must authenticate to publish your own skills or access private ones.

Interactive Login

Run the login command and follow the prompts to authenticate via the browser.

$ kresh login

Session Token

The CLI securely stores your session token locally, so you only need to login once.

$ kresh whoami

Explore CLI Commands

Learn how to install, search, publish, and manage your skills from the terminal.

View Commands