Installation
The Ory CLI is a convenient and easy-to-use tool that helps you manage and configure Ory Network projects.
Its functionality is essential for self-hosting Ory components and local development. The built-in tunneling mechanism help route application traffic to the appropriate endpoints in a safe and hassle-free manner.
The ability to export configurations allows you to bring your setup from a self-hosted environment to the cloud and from The Ory Network to self-hosted setups alike.
Installation
- macOS
- Linux
- Windows
Install the Ory CLI on Linux using bash <(curl ...)
:
bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b . ory <version-you-want>
./ory help
You may want to move the Ory CLI to your $PATH
:
sudo mv ./ory /usr/local/bin/
ory help
Install the Ory CLI using homebrew on macOS:
brew install ory/tap/cli
ory help
Install the Ory CLI on Windows using Scoop:
scoop bucket add ory https://github.com/ory/scoop.git
scoop install ory
ory help
Docker
### Pull Ory CLI image
docker pull oryd/ory
### Run image, enter container, and run a CLI command
docker run --rm -it oryd/ory help
Binary
You can download the server and client binaries from the GitHub "releases" tab.
To install, add the binary to the PATH
environment variable or move it to a path that's already in your $PATH
, for example
/usr/local/bin
.