Skip to main content
This documentation is provided for informational purposes only and demonstrates how to configure and use our API with third-party AI chat interfaces. Any third-party software, websites, or services mentioned are not operated, controlled, or endorsed by us.

Introduction to Junie CLI

Junie Cli
An LLM-agnostic coding agent built for real-world development — by JetBrains. Junie is an AI coding agent that lives in your terminal, integrates with your IDE and CI/CD pipelines, and helps you ship code faster. Give it a task in natural language — fix a bug, implement a feature, review a PR — and Junie handles the rest. Like your real coding buddy. Junie CLI Key Features:
  • AI coding agent in terminal
  • Multi-model (OpenAI, Anthropic, etc.)
  • Real-time interactive tasks
  • Deep codebase understanding
  • Plan mode (safe preview)
  • Command execution & automation
  • CI/CD & Git integration
  • Extensible (custom commands, MCP)

Step

1

Install Junie CLI

Windows users may be unable to run scripts because of digital signature requirements. Please run the following command:
Windows PowerShell:
Firstly, install the newest LTS version of Node.js, and then use npm to install it globally in the terminal:
2

Configure Junie CLI

Edit or create x6.json fileOn macOS & Linux: ~/.junie/models/x6.jsonOn Windows: C:\Users\<USERNAME>\.junie\models\x6.jsonMake sure to replace <X6_API_KEY> with your API key from x6.ai. When replacing it, do not keep the angle brackets < and >.
You can replace the “id” field with any model that is compatible with the OpenAI format:
Image
3

First launch

Windows users may encounter issues running the software due to missing VC runtime libraries. Please download and install this software.
Navigate to the root directory of the project where you want to use Junie CLI and run :
Now you can use Junie.
Img V3 0211e C835aa62 4811 4e79 A296 A417d062a0hu
4

💡 Quick Examples

Build a new project

Analyze a project

Fix bugs

See the full documentation and supported features on the official documentation page.
5

🐙 GitHub integration

To set up a GitHub Action to let Junie respond to issues, PRs, and CI failures automatically, simply run this command inside the agent:
See the full cookbook: Junie on GitHub.