<commit_before>---
id: install
title: Installation
---

Installing ORY Hydra on any system is straight forward. We provide pre-built
binaries, Docker Images and support various package managers.

## Docker

We recommend using Docker to run ORY Hydra:

```shell
$ docker pull oryd/hydra:v1.4.5
$ docker run --rm -it oryd/hydra:v1.4.5 help
```

## macOS

You can install ORY Hydra using [homebrew](https://brew.sh/) on macOS:

```shell
$ brew tap ory/hydra
$ brew install ory/hydra/hydra
$ hydra help
```

## Linux

On linux, you can use `curl | bash` to fetch the latest stable binary using:

```shell
$ curl https://raw.githubusercontent.com/ory/hydra/master/install.sh | bash -s -- -b .
$ ./hydra help
```

You may want to move ORY Hydra to your `$PATH`:

```shell
$ sudo mv ./hydra /usr/local/bin/
$ hydra help
```

## Windows

You can install ORY Hydra using [scoop](https://scoop.sh) on Windows:

```shell
> scoop bucket add ory-hydra https://github.com/ory/scoop-hydra.git
> scoop install hydra
> hydra help
```

## Download Binaries

You can download the client and server binaries on our
[Github releases](https://github.com/ory/hydra/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:<commit_msg>docs: update linux install guide (#1806)<commit_after>---
id: install
title: Installation
---

Installing ORY Hydra on any system is straight forward. We provide pre-built
binaries, Docker Images and support various package managers.

## Docker

We recommend using Docker to run ORY Hydra:

```shell
$ docker pull oryd/hydra:v1.4.5
$ docker run --rm -it oryd/hydra:v1.4.5 help
```

## macOS

You can install ORY Hydra using [homebrew](https://brew.sh/) on macOS:

```shell
$ brew tap ory/hydra
$ brew install ory/hydra/hydra
$ hydra help
```

## Linux

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

```shell
$ bash <(curl https://raw.githubusercontent.com/ory/hydra/master/install.sh) -b . v1.4.5
$ ./hydra help
```

You may want to move ORY Hydra to your `$PATH`:

```shell
$ sudo mv ./hydra /usr/local/bin/
$ hydra help
```

## Windows

You can install ORY Hydra using [scoop](https://scoop.sh) on Windows:

```shell
> scoop bucket add ory-hydra https://github.com/ory/scoop-hydra.git
> scoop install hydra
> hydra help
```

## Download Binaries

You can download the client and server binaries on our
[Github releases](https://github.com/ory/hydra/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:
{'fraction_non_alphanumeric': 0.11963406052076003, 'fraction_numerical': 0.006685432793807178, 'mean_word_length': 3.8350340136054424, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1029393', 'n_tokens_mistral': 1013, 'n_tokens_neox': 905, 'n_words': 358}