# context-install

Installs the jbcontext command-line tool, then walks through login and agent setup for first-time use.

Skill by JetBrains. Category: Knowledge.

## Install

Project (for this project only):

```sh
npx skills add jetbrains/context --skill context-install
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add jetbrains/context --skill context-install -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Warn

Installs: 7. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/jetbrains/context/context-install)

## Source

[Open the source](https://github.com/jetbrains/context/tree/HEAD/skills/context-install). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: context-install
description: Install jbcontext and complete first-time setup — login and configure agent integration. Use when `jbcontext` is not found or the user asks to install jbcontext.
---

# Install and set up jbcontext

Use this skill to install the jbcontext CLI and finish first-time setup (login, agent integration).

## When to use

- `jbcontext` returns `command not found`
- The user says jbcontext is not installed
- The user explicitly asks to install jbcontext

## Do not use for

- Authentication issues → use `jbcontext login`
- Missing project index → use `jbcontext index`
- Agent integration only → use `jbcontext setup-agent --help`

## Install

### macOS / Linux

```bash
curl -fsSL https://download.jetbrains.com/jetbrains-context/release/download-jbcontext.sh | bash
```

### Windows (PowerShell)

```powershell
irm https://download.jetbrains.com/jetbrains-context/release/download-jbcontext.ps1 | iex
```

## Verify installation

```bash
jbcontext --version
```

## Common follow-ups

### `401`

The user is not logged in.

```bash
jbcontext login
```

### `404`

There is no index on the server.

```bash
jbcontext index
```

### Agent setup

If the user also wants jbcontext configured for an agent, use `jbcontext setup-agent`.

Claude non-interactive setup:

```bash
jbcontext setup-agent --agent=CLAUDE --auto --non-interactive
```

Codex non-interactive setup:

```bash
jbcontext setup-agent --agent=CODEX --auto --non-interactive
```

Study help for any other agents and options:
```aiignore
jbcontext setup-agent --help
```
````

- Previous: [blast-radius](https://syn4pse.dev/terminal/blast-radius.md)
- Next: [dependency-search](https://syn4pse.dev/terminal/dependency-search.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
