Installation
Installing ORY Hydra on any system is straight forward. We provide pre-built binaries, Docker Images and support various package managers.
#
DockerWe recommend using Docker to run ORY Hydra:
#
macOSYou can install ORY Hydra using homebrew on macOS:
#
LinuxOn linux, you can use bash <(curl ...)
to fetch the latest stable binary
using:
You may want to move ORY Hydra to your $PATH
:
#
WindowsYou can install ORY Hydra using scoop on Windows:
#
Download BinariesYou can download the client and server binaries on our
Github releases page. There is
currently no installer available. You have to add the Hydra binary to the PATH
in your environment yourself, for example by putting it into /usr/local/bin
or
something comparable.
Once installed, you should be able to run:
#
Building from SourceIf you wish to compile ORY Hydra yourself, you need to install and set up
Go 1.12+ and add $GOPATH/bin
to your $PATH
.
The following commands will check out the latest release tag of ORY Hydra,
compile it, and set up flags so that hydra version
works as expected. Please
note that this will only work in a Bash-like shell.