Skip to content

CLI reference

The orion command starts Orion locally, manages Jupyter, and maintains cached data under your Orion home directory.

Install via Install Orion (orion-notebook on npm and PyPI).

Orion home directory

Default location:

  • macOS / Linux: ~/.orion
  • Windows: %USERPROFILE%\.orion

Override with environment variable ORION_HOME_DIR.

Common paths inside:

PathPurpose
runtime/venvManaged Python + Jupyter + orion-ui
runtime/jupyter-connection.jsonAuto-connect handoff from CLI
app/<version>Downloaded app bundle (pip installs)
orion.dbLocal chat history
settings.jsonUser settings (no API keys)

Main command

bash
orion [options]

Starts the Orion app, starts Jupyter (unless --app-only), opens the browser, and connects automatically.

Options

OptionDescription
-y, --yesApprove managed setup prompts (venv, downloads) without asking
--no-browserStart services without opening a browser
--hereUse current directory as Jupyter root instead of home
--app-onlyStart Orion only; connect to existing Jupyter in the UI
--pick-pythonShow Python selection menu (npm CLI only)
-V, --versionPrint CLI version and exit

Environment variables

VariablePurpose
ORION_HOME_DIROverride Orion data directory
ORION_PORTPort for local Orion app server
ORION_NO_BROWSERSame as --no-browser when set
ORION_APP_BUNDLE_URLCustom app bundle URL (advanced)
ORION_VERSIONPin version for install script

orion config

npm CLI only. Manage CLI runtime preferences under ~/.orion/runtime.

bash
orion config show
orion config python show
orion config python pick
orion config python reset

Use python pick when Orion should use a specific Python installation for Jupyter instead of the managed venv.

The pip launcher does not include config or --pick-python; it falls back to managed Jupyter when system Jupyter is incompatible.

orion uninstall

Remove cached Orion data before uninstalling the package:

bash
orion uninstall --yes
orion uninstall --all --yes
FlagEffect
(default)Remove app bundle cache for current version
--allRemove entire ~/.orion directory (venv, portable Node, all caches)
-y, --yesSkip confirmation prompts

Then remove the package:

bash
npm uninstall -g orion-notebook
# or
pip uninstall orion-notebook

npm vs pip

Featurenpmpip
Ships full app bundleYesDownloads on first run
orion configYesNo
--pick-pythonYesNo
Managed Jupyter + orion-ui syncYesYes

Last updated May 2026.

Apache-2.0 Licensed