Command Line Interface

Manage Your Docs from the Terminal

The Contextium CLI lets you manage documentation, skills, agents, and workflows directly from your terminal. Authenticate with SSO — no API keys needed.

Install globally with npm
npm install -g @contextium/cli

Get Started in Seconds

Two commands to go from install to working with your docs

1

Install

npm install -g @contextium/cli

Install the CLI globally via npm. Requires Node.js 18+.

2

Authenticate

contextium login

Opens your browser for SSO authentication. No API keys or config files needed.

3

Start Working

contextium workspaces

List workspaces, browse projects, search docs, push and pull files — all from your terminal.

COMMANDS

Everything You Need

A complete set of commands for managing your Contextium workspace

contextium login

Authenticate via browser SSO

contextium whoami

Show current account info

contextium workspaces

List your workspaces

contextium projects

List context libraries

contextium files

List files in a project

contextium search

Search across all documents

contextium pull

Download files to local directory

contextium push

Upload files from local directory

contextium logout

Clear authentication tokens

Claude Code Skill

Use Contextium directly from Claude Code with our custom skill. Claude learns how to use the CLI automatically — just ask it to manage your docs.

Learn More

CLI — Common Questions

How do I install the Contextium CLI?

Run npm install -g @contextium/cli, then contextium login to authenticate. From there you can list workspaces, manage libraries and files, and load workflows straight from the terminal.

What can I do with the CLI?

Everything content-shaped: create and edit files in context libraries, search your workspace, manage workflows, agents, and skills, sync a local cache, and pull a workspace summary with contextium summary.

How does the CLI relate to the MCP server?

The CLI is for you; MCP is for your AI tools. They share the same workspace and auth. Use the CLI to manage context by hand, and connect Claude, Cursor, or Copilot over MCP so their sessions load it automatically.

Is the CLI free?

Yes — the CLI is included in all Contextium plans, including the free individual plan.

Which platforms does it support?

Anywhere Node.js runs: macOS, Linux, and Windows. It is published to npm as @contextium/cli.

Ready to Work from the Terminal?

Install the Contextium CLI and start managing your docs in seconds.

No credit card required • Works with any Contextium plan