Origin CLI

The fastest way to run Origin. One command to install, zero dependencies, works everywhere.

$ curl -fsSL https://docs-origin.onrender.com/cliinstall.sh | sh
PS> irm https://docs-origin.onrender.com/cliinstall.ps1 | iex

Then run origin cli to start the interactive CLI, or origin code.or to run a file directly.

Built for developers

Instant Install

One command. No Python, no pip, no package managers. Just curl and go.

Project Scaffolding

Create new Origin projects with origin create. Folder structure generated instantly.

Run Anything

Execute .or, .py, and .java files from one interface.

Direct Execution

Run files straight from the command line: origin code.or, origin script.py.

Interactive REPL

Test code snippets live. Just type origin cli to start.

Language Manager

Install, update, and uninstall Origin language support with origin install.

See it in action

bash
$ curl -fsSL https://docs-origin.onrender.com/cliinstall.sh | sh ▼████▼▼▼▼▼▼▼ ▼▼▼▼▼▼▼▼▼▼▼ ▼▼ ▼▼▼▼▼▼▼▼ ▼▼ ▼▼▼▼▼▼▼▼▼▼ ███ ███ ███ ███ ███ ███ ███ ███ ██████████ Origin CLI Installer Detected: linux x86_64 Downloading from: https://github.com/.../origin Installing to /usr/local/bin/origin... Installed origin to /usr/local/bin/origin Installation complete! $ origin cli Welcome to the Origin Interactive CLI! Type 'origin help' for a list of commands. > _

Why CLI?

Method Python Required Standalone Auto-Update Best For
curl / irm RECOMMENDED ✓ No Quick setup, any machine
pip install Yes (3.10+) Python projects, Raspberry Pi
Manual download ✓ No Air-gapped systems

Commands

Everything you need from a single binary.

origin cli Start interactive CLI
origin <file>.or Run an Origin file
origin <file>.py Run a Python file
origin <file>.java Compile and run Java
origin c <file>.java Compile a Java file
origin create Scaffold a new project
origin in <path> Change working directory
origin install <lang> Install a language

Start building with Origin

$ curl -fsSL https://docs-origin.onrender.com/cliinstall.sh | sh
PS> irm https://docs-origin.onrender.com/cliinstall.ps1 | iex