Skip to content

AI tool comparisons

Menu

Home / AI coding tools / Junie CLI Review: JetBrains’ Terminal Agent, Tested Hands-On

Junie CLI Review: JetBrains’ Terminal Agent, Tested Hands-On

AltAI is an independent publisher. Links to vendor sites open in a new tab. See our disclosure for how we work.

Contents
  1. Quick verdict
  2. What Junie CLI actually is
  3. Getting started: install and authentication
  4. Living with it: the hands-on experience
  5. Pricing: the honest version
  6. Who Junie CLI is for
  7. FAQ
  8. The bottom line

Last verified 18 June 2026. Junie reached general availability on 17 June 2026 - the figures and features below are current as of that release, but the model lineup and pricing move fast, so confirm anything budget-critical on jetbrains.com/junie.

JetBrains spent two decades building IDEs that developers trust. Junie CLI takes that same coding agent out of the IDE and drops it into your terminal - onto turf that Claude Code, Codex, and Aider already hold. As of 17 June 2026, Junie is no longer beta software: JetBrains moved the whole agent, CLI included, to general availability. This review is about the CLI specifically - how it installs, how it behaves on real work, what actual users are saying, and whether it earns a place in your workflow.

If you want the direct head-to-head against Anthropic’s tool, read our dedicated Junie CLI vs Claude Code comparison. This page stays focused on Junie CLI on its own terms, and sits within our wider JetBrains AI tools cluster.

Quick verdict

Junie CLI is the most interesting terminal-agent launch of 2026 because of where it comes from, not because it reinvents the category. The strengths are real: it is genuinely LLM-agnostic, it migrates from Claude Code or Codex in one step, it now runs local models, and - uniquely - it can reach back into a running JetBrains IDE to use the real debugger, semantic index, and database tools. The caveats are equally real: early users repeatedly describe it as slow, JetBrains’ credit pricing triggered a public backlash in mid-2026, and output quality still leans heavily on which model you bring and how well you write your guidelines file.

Reach for it if you live in the JetBrains ecosystem, you want to choose (or swap) your model freely, and you need one agent across terminal, IDE, and CI. Hold off if you need maximum speed, you want a single predictable monthly bill, or you depend on a very large context window for huge refactors.

Rating: 7.5 / 10 - a well-architected, genuinely differentiated agent whose rough edges are about speed, cost clarity, and polish rather than capability.

What it isStandalone, LLM-agnostic AI coding agent for the terminal
StatusGenerally available (left beta 17 June 2026; CLI beta began March 2026)
PlatformsLinux, macOS, Windows (no WSL support yet)
Runs inTerminal, any IDE, CI/CD, GitHub, GitLab
ModelsAnthropic, OpenAI, Google, xAI, OpenRouter, GitHub Copilot (BYOK); local via Ollama, LM Studio, LiteLLM
PricingJetBrains AI subscription or BYOK (you pay the provider)
MigrationOne-click from Claude Code / Codex
Context windowModel-dependent (set by whichever LLM you connect)
Independent benchmark71.0% on the official Terminal-Bench 2.0 leaderboard (entry dated March 2026); 61.8% resolved on SWE-rebench at about $0.81 per task

Weighing a third terminal agent? See Junie CLI vs Codex CLI. For Junie CLI on its own, read our Junie CLI review, and for the cost mechanics, the JetBrains AI pricing guide.

What Junie CLI actually is

Junie began as JetBrains’ in-IDE agent - a plugin that plans a task, writes code across files, runs tests through the IDE’s own engine, and iterates until things pass. It became publicly available as an IDE plugin in April 2025. In March 2026, JetBrains unbundled it: Junie CLI, the same agent, running standalone in any terminal.

JetBrains describes it as an agentic coding tool that gives you an interactive terminal interface to review, write, and modify code. The whole reason it exists is reach - JetBrains’ own framing is that Junie now “meets you where you are,” in the terminal, inside any IDE, in CI/CD, and on GitHub or GitLab. That’s the pitch: stop being a JetBrains-only experience.

The part that makes it more than a wrapper around an LLM is the connection back to the IDE. Since April 2026, when a JetBrains IDE is open on the same project, the CLI can borrow its semantic index, build configs, test runners, and - as of the June GA - the live debugger. For multi-file work, that matters more than raw model quality. When Junie renames a symbol, it can use the IDE’s semantic index to catch every reference, where a plain text-search agent would miss edge cases.

LLM-agnostic, genuinely

Most agents pick a model for you. Junie CLI does the opposite. Through Bring Your Own Key it connects directly to OpenAI, Anthropic, Google, xAI, OpenRouter, or GitHub Copilot using your key, with no JetBrains AI subscription required. You switch models mid-session with /model, and on supported models (recent Claude, GPT-5, Gemini) you can also dial reasoning effort up or down. JetBrains leans into this hard, claiming strong results even on fast, cheap models like Gemini 3 Flash.

As of the June GA it also runs local models - point it at Ollama, LM Studio, or LiteLLM and the agent runs against whatever you have loaded on your own machine, with prompts and code never leaving it. That closes a gap users had been requesting for months (the local-model feature request, JUNIE-47, ran for over half a year before shipping).

This model freedom is the single biggest philosophical break from Claude Code, which runs Anthropic models only.

Getting started: install and authentication

Setup is refreshingly boring, which is a compliment for a CLI.

Four-step setup

Getting Junie CLI running

1
Installcurl, Homebrew, PowerShell or npm. Linux · macOS · Windows. Check with junie - version.
2
Launchcd into the project root, then run junie to start the interactive TUI.
3
AuthenticatePick one: JetBrains Account, JUNIE_API_KEY, or BYOK (your own key). BYOK bills the provider directly.
4
PromptType a task; use @file for context and / for commands. Plan → execute → test.
Headless / CI-CDjunie - auth=”$JUNIE_API_KEY” “Fix code quality issues in the latest commit”. Runs in GitHub Actions and GitLab CI.

1. Install. Junie CLI runs on Linux, macOS, and Windows (no WSL yet). Pick your channel:

bash
# macOS / Linux
curl -fsSL https://junie.jetbrains.com/install.sh | bash

# Homebrew
brew tap jetbrains/junie
brew install junie

# Windows (PowerShell)
powershell -NoProfile -ExecutionPolicy Bypass -Command "iex (irm 'https://junie.jetbrains.com/install.ps1')"

# npm (handy inside CI images)
npm install -g @jetbrains/junie-cli

Confirm it landed:

bash
junie --version

A nice touch for the cautious: you can run a one-off build from another release channel without changing your default - junie --release, junie --eap, or junie --nightly.

2. Launch. cd into your project root and run junie. The interactive terminal UI starts there, scoped to that project.

3. Authenticate. This is where the flexibility shows. On the welcome screen you pick one of three paths: log in with your JetBrains Account to draw on your subscription; use a JUNIE_API_KEY token for usage-based billing; or Bring Your Own Key to connect a provider directly. The billing detail that matters: if a model is reachable through both your BYOK key and your JetBrains subscription, the BYOK key wins and the request bills your provider - no JetBrains credits consumed. You manage all of this later with /account.

4. Prompt. Type a task in plain language. Use @ to attach a file or folder to the context, and / to see the slash commands. You can keep typing follow-up clarifications while Junie is mid-task - they’re appended to the prompt and picked up immediately.

A note on the free trial

At the CLI launch JetBrains lowered the barrier to almost nothing: free access to Gemini 3 Flash for one week, on by default, so you could install and start at no cost before standard pricing kicked in. Whether that promotion still runs by the time you read this is exactly the sort of volatile detail to confirm on the official page.

Living with it: the hands-on experience

Day to day, Junie CLI behaves like a competent, plan-first agent - but the developer reports from its first months in the wild are a mix of genuine praise and pointed criticism, and an honest review has to carry both.

The good

The planning discipline is the standout. Plan mode (toggle with Shift+Tab, or launch straight into it with junie --plan) makes the plan a real artifact: before writing code, Junie produces a structured design document - product requirements, technical design, delivery stages, optional testing strategy - that lives in .junie/plans, so you can commit it as living documentation rather than a throwaway chat message. When requirements are ambiguous, it asks multiple-choice and freeform questions instead of guessing. JetBrains’ own argument for this is as much about cost as quality: planning on a strong model and implementing on a cheap one means fewer wasted token-burning runs down the wrong path.

The slash commands are where the JetBrains DNA shows. A few stand out in real use:

  • /review runs a code review of your local changes before you commit. It reads your git state and offers only the targets that make sense - your branch against main, the last commit, or unstaged changes - then comments on the diff and lets you accept or dismiss each finding. It uses the same backend as JetBrains’ automated GitHub PR reviews, so local feedback matches what a PR would report. One reviewer, Miguel Teheran, deliberately seeded a C# project with bad practices (hardcoded IDs, dead conditions, malformed formatting) and reported Junie flagged each one with inline comments.
  • /debug is the most ambitious, and as of the June GA it’s genuinely novel: rather than scattering println statements, Junie drives the IDE’s actual debugger - launching run configurations, setting breakpoints (even in library code, SDK code, and decompiled .class files), and inspecting real runtime state. No terminal-only competitor does this.
  • /demo (alias /test) spins up a disposable Docker VM, builds and runs your app inside it, then drives the live UI - clicking, typing, screenshotting - to prove a change works, and hands back a shareable HTML report. It needs a running Docker daemon.
  • /remote shares a running session to the Junie web app so you can start a long task on your laptop and check it from your phone.

There are sensible safety rails too: Junie asks approval before sensitive actions (running most shell commands, editing files outside the project, invoking MCP tools), with an “Always allow” allowlist stored in ~/.junie/allowlist.json. A /brave mode disables the prompts - convenient and, as you’ll see below, occasionally dangerous.

The bad - what real users report

This is where the review has to be honest, because the public record is not uniformly kind.

It’s slow. This is the single most consistent complaint. Java developer and author Ken Kousen, testing the agent, put it bluntly: his biggest issue was that Junie is “incredibly slow,” and he wasn’t dazzled by the output. Multiple reviewers in a 12-review meta-analysis flagged the same lag, noting Junie takes longer than Cursor to plan and execute. For a terminal tool where you’re staring at the prompt, latency is felt acutely.

The pricing backlash was real. When JetBrains tightened its AI credit quotas in mid-2026, users hit the YouTrack tracker (issue JUNIE-690) describing quotas “running out in days instead of weeks,” and reactions ran “overwhelmingly frustrated and disappointed.” JetBrains’ team conceded the point unusually frankly - admitting the launch quotas were “way too generous,” that subsidizing AI usage wasn’t sustainable, and “we messed up… in how we communicated this.” The practical lesson: if you use Junie heavily on a subscription, expect to budget for AI Ultimate or move to BYOK.

It can ignore instructions - occasionally destructively. JetBrains Marketplace reviews include sharp one-star reports. One user asked Junie only to optimize imports and says it instead deleted unrelated in-progress work without asking (“no warning… it is actively harmful”). Another reported it edited production configs it had been explicitly told to leave alone. These are not the median experience, but they’re a real reminder to keep /brave mode off and review diffs before accepting.

Guidelines are doing a lot of heavy lifting. A recurring theme from power users is that Junie’s out-of-the-box behavior is mediocre until you invest in a strong .junie/guidelines.md. One developer was frustrated enough to publish an open-source “guideline configurator” to push Junie’s behavior closer to Claude’s. Others report it ignoring stated test-framework conventions (writing PHPUnit when told to use Pest, or generating tests without the right coverage attribute) until corrected - a known fix is to name those conventions explicitly in the guidelines file.

Token-hungry on big contexts. On the local-model thread, a user measured Junie consuming roughly 10,000 - 20,000 tokens just to understand a request and build its plan, and noted it’s “totally possible to overflow a 256K context” with large models on a big codebase - and that models degrade as they near their limits. That’s the practical ceiling behind the “model-dependent context” line in the spec table.

Configuration that will feel familiar

If you’re coming from Claude Code, the setup maps almost one-to-one. Junie reads persistent project context from a guidelines file (.junie/guidelines.md, the direct equivalent of CLAUDE.md; the IDE plugin uses AGENTS.md), supports custom slash commands and MCP servers, and offers one-click migration that imports an existing Claude Code or Codex setup. It also respects an existing .aiignore file, so anything you’ve already fenced off stays untouched.

Pricing: the honest version

Junie CLI’s pricing is unusual, and the marketing word “transparent” deserves translation.

You can run it two ways. The first is a standard JetBrains AI subscription - the same credit system as the IDE plugin. As reference points widely cited in 2026, AI plans run roughly $100/user/year (AI Pro) up to $300/year (AI Ultimate), with the subscription covering every JetBrains IDE plus the CLI, and credits consumed per agentic task. Independent trackers list the AI tiers in the $10 - $60/month range. As the quota revolt above shows, heavy agentic use burns credits faster than many users expected - so treat the lower tier as an evaluation budget, not a daily-driver one.

The second is BYOK, which JetBrains pushed hard for early adopters. Here all usage bills the model provider directly - no JetBrains AI subscription required. For moderate use this can undercut a subscription: running Junie CLI on your own Anthropic key has been estimated at roughly $5 - 15/month for moderate daily agentic work, below the top subscription tier while keeping Junie’s IDE-quality context.

The catch is predictability. “Transparent” here means you see the provider’s meter - not that the bill is small or fixed. Heavy days on a frontier model add up, and the cost lands on your OpenAI or Anthropic invoice. If you need a flat, forecastable number, a subscription tier is calmer; if you already hold provider keys and would rather meter usage, BYOK is cheaper for most solo developers. Re-verify all of this on jetbrains.com/ai before budgeting - these numbers moved more than once this year.

Who Junie CLI is for

The decision

Who Junie CLI is for

Reach for it if…

  • You live in JetBrains IDEs
  • You want to choose your model
  • You need terminal + CI/CD reach
  • BYOK billing suits your budget
  • You’re migrating off Claude Code
  • You want IDE-grade code context

Hold off if…

  • You need rock-solid stability now
  • You want a bigger context window
  • You prefer fully open-source tools
  • You never touch a JetBrains IDE
  • You need a fixed, predictable bill
  • You can’t run beta software

altaitools.com · Junie CLI review

The fit is sharp once you strip the hype. Junie CLI is for the developer already at home in JetBrains IDEs who wants that agent everywhere else too - the terminal, CI, a teammate’s editor. It’s for people who treat model choice as a feature, including anyone who wants to run local models for privacy or cost. It’s a low-friction switch for anyone migrating off Claude Code or Codex, and the BYOK model rewards developers who already pay for provider API access.

It’s a weaker pick if speed is your top priority (the “it’s slow” chorus is consistent), if you need one flat predictable bill, or if you routinely push past very large contexts on huge refactors. And if you’re committed to fully open-source tooling, note Junie is proprietary even with open model access.

Deciding between terminal agents? Compare it directly in Junie CLI vs Claude Code and Junie CLI vs Codex CLI, or see how it fits the BYOK AI coding landscape.

FAQ

What is Junie CLI?

Junie CLI is JetBrains’ standalone, LLM-agnostic AI coding agent for the terminal. It plans tasks, writes code across files, runs tests, reviews diffs, and can even drive your IDE’s debugger - the same agent as the JetBrains IDE plugin, unbundled to run anywhere.

Is Junie CLI still in beta?

No. JetBrains moved the whole Junie agent, including the CLI, to general availability on 17 June 2026. The CLI’s public beta had run since March 2026.

Is Junie CLI free?

There’s a limited free option: the Free plan includes Junie Lite, a free always-on model (introduced October 2026), and the CLI launched with a free week of Gemini 3 Flash. After that you either use a JetBrains AI subscription or BYOK, where you pay your model provider directly. With local models via Ollama or LM Studio, the agent itself carries no per-token platform charge.

What operating systems does Junie CLI support?

Linux, macOS, and Windows. It does not currently run under the Windows Subsystem for Linux (WSL). Install via curl, Homebrew, PowerShell, or npm.

Which models can Junie CLI use?

Through BYOK: Anthropic, OpenAI, Google, xAI, OpenRouter, and GitHub Copilot. It also connects to local runtimes (Ollama, LM Studio, LiteLLM). Switch models in-session with /model, and adjust reasoning effort on models that support it.

Does BYOK use JetBrains credits?

No. With BYOK, requests go straight to your provider on your key and are billed by that provider, bypassing the JetBrains credit system. If a model is available through both BYOK and your subscription, the BYOK key takes priority.

What’s Junie CLI’s context window?

It’s model-dependent - set by whichever LLM you connect, not a fixed Junie limit. Note that the agent itself spends roughly 10,000 - 20,000 tokens understanding a request and planning before any coding, and users report it’s possible to overflow even a 256K context on large codebases.

Can Junie CLI run in CI/CD?

Yes. It has a non-interactive headless mode - authenticate with junie --auth="$JUNIE_API_KEY" and pass a task string - plus dedicated GitHub Action and GitLab CI/CD integrations.

What is Plan mode?

Before writing code, Junie produces a structured design document (requirements, technical design, delivery stages) saved to .junie/plans for you to read, edit, and approve. Toggle it with Shift+Tab or start in it with junie --plan.

Is Junie CLI any good - what do real users say?

Reactions are mixed. Praise centres on planning, the debugger integration, and model freedom. The most common complaint is speed - several reviewers call it slow versus Cursor. There was also a public backlash over credit quotas in mid-2026, and some Marketplace reviews report it ignoring instructions, so keep /brave mode off and review diffs.

How is Junie CLI different from the JetBrains IDE plugin?

Same underlying agent, different home. The CLI runs anywhere a terminal does and adds full BYOK and local-model choice. The IDE plugin gives the richest experience - live debugging, deepest inspections, database access via DataGrip - but only inside JetBrains IDEs.

Does Junie CLI need a JetBrains IDE installed?

No. It runs standalone in any terminal. But when a JetBrains IDE is open on the same project, the CLI reuses its semantic index, build configs, test runner, and debugger for sharper results.

Can I migrate from Claude Code or Codex?

Yes - one-click migration imports your existing setup, and .junie/guidelines.md is the direct equivalent of CLAUDE.md.

The bottom line

Junie CLI is a confident, well-architected entry into a crowded field, and its June 2026 move out of beta is more than a label change: plan-as-document, debugger-driven debugging, local models, and database access are real differentiators, not marketing gloss. The honest counterweight is what early users keep saying - it’s slower than its rivals, the credit pricing caused enough pain that JetBrains publicly apologized, and you’ll get mediocre output until you invest in a solid guidelines file.

For JetBrains-native developers who want model freedom and one agent across terminal, IDE, and CI, it’s an easy recommendation to try today and a likely keeper. For everyone else - especially if raw speed or a predictable bill is what you care about most - it’s worth watching, and BYOK plus a local model makes watching cheap.