The GitHub page for the Junie [1] script explicitly says "MacOS/Linux": It's the same curl command for the CLI
curl -fsSL https://junie.jetbrains.com/install.sh | bash
To automatically install the local model after the CLI is installed, you run with th --local-model flag:
curl -fsSL https://junie.jetbrains.com/install.sh | bash -s -- --local-model
There is a note in the bash script [2] that the local model needs MacOS for some reason:
install_local_model() {
echo ""
log "Junie is installed. Setting up the local model..."
if ! curl -fsSL "$LOCAL_MODEL_URL" | bash; then
# The local model is an optional extra on top of a finished Junie install,
# and it is the part most likely to be refused -- it needs macOS 26 on an
# Apple M5 or newer with 40 GB of RAM. Whatever went wrong here, Junie itself
# is installed, so say so plainly instead of leaving the run looking failed.
echo ""
log_error "The local model setup did not complete."
log "Junie itself is installed and ready to use -- run: junie"
log "To try the local model again: curl -fsSL $LOCAL_MODEL_URL | bash"
exit 1
fi
}
But the GitHub repo README for "local" [3] does have instructions for Linux though, and makes it seem like the --local flag will work. As a hardy Linux hacker, you should probably just try it and see what happens.
Edit: Interestingly, I got Junie CLI on my M4 Mac but did NOT get the local model installed, which t looks like iwas going to me Qwen3.6-27B-MLX-4bit. (Needs a M5 GPU apparently.)
I did start Junie and it prompted me to connect to a local model, successfully detected Ollama and connected to that.
[1] https://github.com/JetBrains/junie
[2] https://raw.githubusercontent.com/JetBrains/junie/refs/heads...
[3] https://github.com/JetBrains/junie/tree/main/local