diff --git a/docs/_common/install.mdx b/docs/_common/install.mdx
index 6c6040d62..494366293 100644
--- a/docs/_common/install.mdx
+++ b/docs/_common/install.mdx
@@ -22,7 +22,7 @@ import Linux from '@site/src/components/Install/Linux'
```mdx-code-block
import MacOS from '@site/src/components/Install/MacOS'
-
+
```
## Windows
diff --git a/docs/guides/cli/01_installation.mdx b/docs/guides/cli/01_installation.mdx
index 423586759..070427f16 100644
--- a/docs/guides/cli/01_installation.mdx
+++ b/docs/guides/cli/01_installation.mdx
@@ -13,58 +13,13 @@ Network to self-hosted setups alike.
## Installation
-You can install the Ory CLI directly on your machine, or run the tool in Docker.
+```mdx-code-block
+import Install from '@site/docs/_common/install-cli.mdx'
-### macOS
-
-Run this command to install the Ory CLI using Homebrew:
-
-```shell
-brew install ory/tap/cli
-```
-
-Verify the installation:
-
-```shell
-ory help
-```
-
-### Linux
-
-The Ory CLI works on all Linux distributions. Run this command to install:
-
-```shell
-bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -b . ory
-```
-
-You may want to move the Ory CLI to your `$PATH`:
-
-```shell
-sudo mv ./ory /usr/local/bin/
-```
-
-Verify the installation after moving to `$PATH`:
-
-```shell
-ory help
-```
-
-### Windows
-
-To install the CLI on Windows, use [scoop](https://scoop.sh). Run:
-
-```shell
-> scoop bucket add ory https://github.com/ory/scoop.git
-> scoop install ory
-```
-
-Verify the installation:
-
-```shell
-ory help
+
```
-### Docker
+#### Docker
```shell
### Pull Ory CLI image
@@ -74,7 +29,7 @@ docker pull oryd/ory
docker run --rm -it oryd/ory help
```
-### Binary
+#### Binary
You can download the server and client binaries from the [GitHub "releases" tab](https://github.com/ory/cli/releases).
diff --git a/src/components/Install/MacOS.tsx b/src/components/Install/MacOS.tsx
index c4d867bca..e7c6bceb1 100644
--- a/src/components/Install/MacOS.tsx
+++ b/src/components/Install/MacOS.tsx
@@ -1,15 +1,19 @@
import React from "react"
import CodeBlock from "@theme/CodeBlock"
-export default function MacOS(props: { repo: string; name: string }) {
- const { repo, name } = props
+export default function MacOS(props: {
+ repo: string
+ name: string
+ command: string
+}) {
+ const { repo, name, command } = props
return (
<>
Install {name} using homebrew on macOS:
{`brew install ory/tap/${repo}
-${repo} help`}
+${command} help`}
>
)
}
diff --git a/src/sidebar.ts b/src/sidebar.ts
index 8bd87cb74..d19908e75 100644
--- a/src/sidebar.ts
+++ b/src/sidebar.ts
@@ -730,22 +730,6 @@ const hydra: SidebarItemsConfig = [
items: [
"hydra/self-hosted/deploy-hydra-example",
"hydra/self-hosted/upgrade",
- "hydra/reference/api",
- {
- "Command Line Interface (CLI)": [
- {
- type: "autogenerated",
- dirName: "hydra/cli",
- },
- ],
- },
- {
- SDK: [
- "hydra/sdk/overview",
- "hydra/self-hosted/go",
- "hydra/self-hosted/js",
- ],
- },
],
},
{