Skip to main content

Install the Ory CLI

Installing the Ory CLI on any system is straight forward. We provide prebuilt binaries, Docker images, and support various package managers.

Install via NPM#

If you have a NodeJS project you can install the Ory CLI using:

npm i --save @ory/cli

Install on macOS#

You can install Ory CLI using homebrew on macOS:

$ brew tap ory/ory$ brew install ory/ory/ory$ ory help

Install on Linux#

On linux, you can use bash <(curl ...) to fetch the latest stable binary using:

$ bash <(curl -b .$ ./ory help

You may want to move the Ory CLI to your $PATH:

$ sudo mv ./ory /usr/local/bin/$ ory help

Install on Windows#

You can install Ory CLI using scoop on Windows:

> scoop bucket add ory-cli> scoop install ory> ory help

Download Binaries#

The client and server binaries are downloadable at the releases tab. There is currently no installer available. You have to add the Cli binary to the PATH environment variable yourself or put the binary in a location that is already in your $PATH (e.g. /usr/local/bin).

Once installed, you should be able to run:

$ ory help


You may also use Docker to run the CLI:


Using the Ory CLI in Docker means that some of the tools, such as the Ory Proxy, may not work!

$ docker pull oryd/ory$ docker run --rm -it oryd/ory help