Skip to content

Install Orion

Orion runs locally: the orion CLI starts Jupyter, launches the Orion IDE in your browser, and stores managed files under ~/.orion (Windows: %USERPROFILE%\.orion).

Prerequisites: The install script manages Orion through uv by default. Orion can create its own Python/Jupyter runtime for notebooks on first run.

Desktop app

Download the current desktop installer from the Orion releases page:

  • macOS: Choose the .dmg that matches your Mac (arm64 for Apple silicon or x64 for Intel).
  • Windows: Choose the win-x64.exe installer.

The desktop app includes the runtimes Orion needs. It checks for updates automatically and lets you choose when to restart and install them.

If macOS or Windows shows a security warning when you open the installer, you can still run Orion safely. See Why macOS and Windows warn about the Orion desktop app.

Install script

macOS / Linux:

bash
curl -fsSL https://www.orion-agent.ai/install.sh | bash

Windows (PowerShell):

powershell
powershell -ExecutionPolicy Bypass -c "iwr -useb https://www.orion-agent.ai/install.ps1 | iex"

The script installs orion-notebook with uv-managed Python 3.12 so the orion command works across shells, including Windows machines with Anaconda. Pin a version with ORION_VERSION=0.9.0 or force an advanced method with ORION_INSTALL_METHOD=npm|pip|uv.

Install via npm (advanced)

Use npm only if you already want Node.js-managed global tools. Both npm and PyPI use the package name orion-notebook:

bash
npm install -g orion-notebook

Use this path when you want Orion to use an existing Python or conda environment and you want Orion to remember that choice. After installing, run:

bash
orion config python pick
orion

The Python environment you choose should include Jupyter and orion-ui:

bash
python -m pip install -U jupyter_server ipykernel orion-ui

Install via pip

Use pip only when you want Orion installed into a specific Python environment:

bash
python -m pip install orion-notebook

If this environment should also run notebooks for Orion, install Jupyter and orion-ui there too:

bash
python -m pip install -U jupyter_server ipykernel orion-ui
orion

This makes orion available only when that environment is active. The pip launcher does not include orion config python pick; use npm if you want to install Orion once and choose among multiple Python environments.

Which install path should I use?

GoalRecommended path
I want a desktop app with automatic updatesDownload the installer for macOS or Windows.
I just want Orion to workUse the install script. Orion manages uv, Node, Jupyter, and orion-ui.
I want Orion to use an existing conda/venv PythonUse npm install -g orion-notebook, then orion config python pick.
I want Orion installed inside one Python envActivate that env, then run python -m pip install orion-notebook jupyter_server ipykernel orion-ui.
I already run Jupyter myselfStart Orion with orion --app-only, then connect to your Jupyter URL in the UI.

Run Orion

bash
orion

This opens Orion in your browser and connects to the local Jupyter server.

On first run, Orion may create a managed Python environment under ~/.orion/runtime/venv (Windows: %USERPROFILE%\.orion\runtime\venv). That environment includes Jupyter and orion-ui, the library for Orion notebook UI components (import orion_ui as ui). You do not need a separate pip install orion-ui when using this default setup.

If you use your own Python or Jupyter kernel instead, install orion-ui into that kernel's environment. See Fix: orion_ui import error.

Diagnose an install

If Orion does not start after installation, run:

bash
orion doctor --json

To verify first-run setup without opening the browser:

bash
orion doctor --setup --json

Share the JSON output when opening a GitHub issue. It redacts common home-directory paths and reports OS, PATH summary, install method, app bundle, Node, Python/Jupyter, and network checks.

Update Orion

In the desktop app or browser app started by the CLI, open the Orion menu or Settings and select Check for updates. When an update is available:

  • Desktop app: Download it, then select Restart and update when you are ready.
  • CLI installation: Install it in the app, or close Orion and run orion update. Run orion again after the update finishes.

Orion checks for stable updates automatically. The update uses the same package manager that installed the CLI: npm, pip, or uv.

Hosted app

You can also use Orion without a local install at app.orion-agent.ai.

Run from source (developers)

If you clone Orion-app to run or build locally, copy .env.example to .env in the repo root before npm install or npm run build. Next.js loads .env, not .env.example. The example file includes Orion Cloud settings (API URL, Supabase) used for publish and sign-in.

macOS / Linux:

bash
git clone https://github.com/nicolasakf/Orion-app.git
cd Orion-app
cp .env.example .env
npm install

Windows (PowerShell):

powershell
git clone https://github.com/nicolasakf/Orion-app.git
cd Orion-app
Copy-Item .env.example .env
npm install

Dev mode

Both commands start the Next.js dev server on port 3001 with hot reload:

CommandWhat it startsWhen to use
npm run devNext.js onlyUI and app work. Connect Jupyter yourself in the app.
npm run dev:notebookJupyter + Next.js (same bootstrap as the orion CLI)Notebook and kernel work. Orion auto-connects to the local Jupyter server.
bash
npm run dev              # Next.js dev server only
npm run dev:notebook     # Jupyter + Next.js (recommended for notebooks)

For dev:notebook, useful flags include --here (Jupyter root = current directory) and --pick-python (interactive Python selection).

See the Orion-app README and Contributing guide for production-like CLI runs, publishing, and local development details.

Next steps

More detail

See the full Orion-app README for publishing and development setup.

Apache-2.0 Licensed