Skip to main content

ORCHER CLI

Run ORCHER on your machine, and start, watch and control workflows on any engine, from your terminal.


CI Apache 2.0

orcher works the same against a local engine, a self-hosted one, or ORCHER Cloud.

  • Local engine: orcher dev start runs the engine and its database in Docker, ready in seconds
  • Run: start a workflow with JSON input or key=value parameters, and wait for its result
  • Inspect: list, filter and search executions; see each one's status, result, journal, tasks and log
  • Control: cancel or terminate a workflow, send it an event, or act on many at once
  • Cloud: log in to ORCHER Cloud and keep a context per environment
  • Scriptable: -o json, -o yaml or -o name, and exit codes that mean something

Install

macOS and Linux:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/orcher-io/cli/releases/latest/download/orcher-installer.sh | sh

Windows (PowerShell):

powershell -ExecutionPolicy Bypass -c "irm https://github.com/orcher-io/cli/releases/latest/download/orcher-installer.ps1 | iex"

Or with a package manager:

Homebrew brew install orcher-io/tap/orcher
Cargo cargo install orcher
pip pip install orcher, or run it without installing: uvx orcher
npm npm install -g orcher, or run it without installing: npx orcher

Every release has binaries for macOS (Apple silicon and Intel), Linux (x86_64 and arm64, glibc and musl) and Windows (x86_64) on its release page, with checksums.


Quick start

Start a local engine. It needs Docker, and keeps its data until you delete it:

orcher dev start                           # the engine on localhost:50051

Run a worker against it (the quickstart has one in Python, TypeScript and Rust), then:

orcher workflow start order --task-queue quickstart-python --id order-1001 --input '"order-1001"'
orcher workflow result order-1001          # wait for it, and print what it returned
orcher workflow list                       # recent workflow executions
orcher workflow get order-1001             # one of them in detail
orcher workflow history order-1001         # every step the engine recorded
orcher logs order-1001 --follow            # its log, until it ends

Commands

Command What it does
orcher dev start|stop|status|logs Run a local engine in Docker: the quick local loop
orcher server start|stop|restart The same local engine with more control: an engine config file (--engine-config), an existing database (--database-url), the log level, a graceful stop
orcher server status|version Whether an engine (and a gateway, when configured) answers, and which versions are running
orcher workflow start <type> Start a workflow on --task-queue, with JSON --input; --wait for its result
orcher workflow result <id> Wait for a workflow to finish and print its result
orcher run <type>[@queue] -p key=value Start a workflow with parameters and follow it to the end
orcher workflow list List executions; filter with --type and --status, or --query
orcher workflow get <id> Status, timing, and result or error; --full adds pending tasks, timers and events
orcher workflow history <id> The journal: every step the engine recorded
orcher workflow tasks <id> The tasks the workflow ran, with attempts and durations
orcher workflow event <id> <name> Send an event, with an optional JSON --payload
orcher workflow cancel|terminate <id> Ask a workflow to stop, or stop it at once
orcher logs <id> A workflow's log; --follow until it ends, --journal or --tasks for the other views
orcher status A dashboard: where the CLI points, what answers, and workflow counts
orcher queue list|stats Workflows by task queue
orcher namespace ... list, get, create, update, deprecate, delete
orcher batch ... Cancel, terminate, signal or reset many workflows at once, through a gateway
orcher auth login|logout|status Log in to ORCHER Cloud (browser device flow, token, or password)
orcher config ... Contexts: get-contexts, use-context, set-context, view, test-connection
orcher new python|typescript|rust <name> A new project on the published SDK: a workflow, a task, a worker, a starter and an end-to-end test
orcher new workflow <name> Add a workflow, with one task, to the project in this directory
orcher test Check the project here builds (--dry-run), or run its workflows end to end on the engine
orcher completion <shell> Shell completions for bash, zsh, fish, PowerShell and elvish

Run orcher <command> --help for every flag and more examples.


Where commands go

Flag Environment Default
--server ORCHER_SERVER the context's, else http://localhost:50051 The engine's gRPC address; https:// uses TLS
--api-url ORCHER_API_URL the context's api, if any A gateway's HTTP address: login, batch operations, log streaming
--context ORCHER_CONTEXT the current context A named environment from the config file
--config ORCHER_CONFIG ~/.orcher/config.yaml The config file
-n, --namespace ORCHER_NAMESPACE default The namespace to act in
ORCHER_API_KEY, ORCHER_TOKEN the context's stored login Credentials for an engine that requires them
ORCHER_CLOUD_URL https://api.orcher.io Where ORCHER Cloud is
ORCHER_CREDENTIAL_STORE the OS keychain file keeps logins in credentials beside the config file (owner-only), as happens anyway where there is no keychain
-o, --output table table, json, yaml or name

The local engine's ports are bound to 127.0.0.1: it runs without authentication unless its config file turns it on. orcher dev start and orcher server start take --engine-version (default 0.5.5) to run another engine release, and other ports when the defaults, 50051 and 8080, are taken.

A command that fails prints the reason to stderr and exits with status 1; so do workflow result and run for a workflow that failed, was canceled or terminated, or did not finish in time. Commands that would stop or delete something ask first; pass --force when there is no terminal to ask on.


Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md for how to build, test and propose a change.

License

Licensed under the Apache License, Version 2.0.

Metadata

Release files for orcher 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orcher 0.1.1
File Size Uploaded
orcher-0.1.1.tar.gz 167.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for orcher 0.1.1
File
orcher-0.1.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
orcher-0.1.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
orcher-0.1.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
orcher-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
orcher-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
orcher-0.1.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
orcher-0.1.1-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 46.0 MB

Release files / orcher-0.1.1.tar.gz

Download URL orcher-0.1.1.tar.gz
Size 167.0 kB
Tags Source
SHA-256 checksum
How to use checksums
08f49db9753cd7d5f48dde18630b59ca3974ed52e5948d0ed48bfcc550ded211
BLAKE2b-256 checksum
How to use checksums
8731209e578607312ea7c17e5037d4adc4590c09972bb6731a8abc2b89d93208
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / orcher-0.1.1-py3-none-win_amd64.whl

Download URL orcher-0.1.1-py3-none-win_amd64.whl
Size 6.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ed6f7837eab5f41473be8495b48c0a5e3e5061e82dccc93efa580a0b0c25ac5f
BLAKE2b-256 checksum
How to use checksums
b12c2095b22aeab6634fdb40afcfb040188fe21d7480ab55328710d6ea106579
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / orcher-0.1.1-py3-none-musllinux_1_2_x86_64.whl

Download URL orcher-0.1.1-py3-none-musllinux_1_2_x86_64.whl
Size 7.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
76f26955bd898f02042ebb481ac3a26aa20abe0af3c412c285f579da9fc10d50
BLAKE2b-256 checksum
How to use checksums
db8aa1a63a00f5b20cae869cb32d4c9213184bb94dd846c3bb8218166de2c7b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / orcher-0.1.1-py3-none-musllinux_1_2_aarch64.whl

Download URL orcher-0.1.1-py3-none-musllinux_1_2_aarch64.whl
Size 6.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5382e82e0dc9bf003006a4a0bd9e9112d494c2fb8fe7cfef67f3e6a5850726f4
BLAKE2b-256 checksum
How to use checksums
a2adca18ac76d33758675bf30b767d774c6175f7bc4a06fd84cb89356cab5e08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / orcher-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL orcher-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 7.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
aa5e876e4c50cd61e28a8e0826f885b3c537b56c5b2eb69133065467d0131d48
BLAKE2b-256 checksum
How to use checksums
7f663d4c228643dce61f7acdc0cad70304ced5d5086de0cd0daaefc60fb75968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / orcher-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL orcher-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 6.9 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
afcf1541a4afb0446e52d342effbfd31042d565da2c64e288989272e0d1ae5b6
BLAKE2b-256 checksum
How to use checksums
b20cb90b437ce7c187ae1245b72fc39241c81293908d577bd4ccf9a98af5fef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / orcher-0.1.1-py3-none-macosx_11_0_arm64.whl

Download URL orcher-0.1.1-py3-none-macosx_11_0_arm64.whl
Size 5.6 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
de54552305181ce40176c495bc508ba8bc4ecf06fdd9d6c037e671b5be384a93
BLAKE2b-256 checksum
How to use checksums
2eaba03b9f6256024d2c5af128f9561cd237a20bf58b0fef17d0a97837dda4f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / orcher-0.1.1-py3-none-macosx_10_12_x86_64.whl

Download URL orcher-0.1.1-py3-none-macosx_10_12_x86_64.whl
Size 5.8 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f58e16aa714905dbe8f091b3824ddd833131e92e654c0301083c82171283fead
BLAKE2b-256 checksum
How to use checksums
d007ee52309eafa48db680caf3b1e7ffe363d70055e70f5ee404bc36f3344f34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

8 release files

0.1.0

8 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page