Context CLI

Run Context from your terminal.

Give Context a repository task. It reads the code, makes changes, runs commands, and returns a diff for review.

curl -fsSL https://context.ai/install | sh
Context CLI completing a repository task with its run trace, context graph, and permission scope

Repository work

From a task to a tested change.

Context CLI moving a repository task through context, permissions, changes, tests, and review
  1. 01

    Give it a task.

    Start Context in a repository and describe the result you need in plain language.

  2. 02

    Review what it does.

    Context shows the files it reads, the commands it runs, and the changes it makes as the task progresses.

  3. 03

    Keep the diff.

    Inspect the result, ask for another change, or open a pull request with the completed work.

One run, three surfaces

Use it where you code.

Context CLI ready for a task in a terminal

Terminal

Run ctx in any repository and keep the full workflow in your shell.

Context CLI adding tests inside a code editor

Editor

Review the plan, file changes, and command output beside the code.

Context CLI web interface selecting a repository branch

Web

Start a run in the browser and continue it from the command line.

Your controls

The same Context controls apply.

Repository instructions

Context follows your project rules, scripts, and review requirements in every run.

Permissioned commands

Choose which files, commands, networks, and connected systems a run can use.

Model choice

Use the models approved by your organization without changing the CLI workflow.

Complete traces

Keep prompts, tool calls, command output, sources, and changes together for review.

Works with the tools already in your workflow

GitHub
GitLab
Jira
Docker
Kubernetes
Terraform
AWS
Datadog

Context CLI

Install from your terminal.

Available for macOS, Linux, and Windows through WSL.

$ curl -fsSL https://context.ai/install | shpreview

The preview installer currently returns setup instructions. Signed binaries will replace it before release.

FAQ

What can Context CLI do in a repository?+

It can read and explain code, edit files, run commands and tests, and prepare a diff or pull request for review.

What can a run access?+

Only the files, commands, network destinations, and connected systems allowed by your repository and organization settings.

Does Context CLI require one specific model?+

No. Model choices follow your organization's Context settings, so teams can use approved models without changing their command-line workflow.

Can Context CLI run inside our infrastructure?+

Yes. Context supports hosted, customer-cloud, on-premises, and fully air-gapped deployments.

Does it work with Context Desktop?+

Yes. Desktop, web, editor, and CLI runs share the same permissions, repository context, and traces.