File tree Expand file tree Collapse file tree 5 files changed +14
-71
lines changed Expand file tree Collapse file tree 5 files changed +14
-71
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import Windows from '@site/src/components/Install/Windows'
16
16
<Linux repo="ory" name="the Ory CLI" />
17
17
</TabItem>
18
18
<TabItem value="macos">
19
- <MacOS repo="cli" name="the Ory CLI" />
19
+ <MacOS repo="cli" command="ory" name="the Ory CLI" />
20
20
</TabItem>
21
21
<TabItem value="windows">
22
22
<Windows repo="ory" name="the Ory CLI" />
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import Linux from '@site/src/components/Install/Linux'
22
22
``` mdx-code-block
23
23
import MacOS from '@site/src/components/Install/MacOS'
24
24
25
- <MacOS repo={props.repo} name={props.name} />
25
+ <MacOS repo={props.repo} command={props.command} name={props.name} />
26
26
```
27
27
28
28
## Windows
Original file line number Diff line number Diff line change @@ -13,58 +13,13 @@ Network to self-hosted setups alike.
13
13
14
14
## Installation
15
15
16
- You can install the Ory CLI directly on your machine, or run the tool in Docker.
16
+ ``` mdx-code-block
17
+ import Install from '@site/docs/_common/install-cli.mdx'
17
18
18
- ### macOS
19
-
20
- Run this command to install the Ory CLI using Homebrew:
21
-
22
- ``` shell
23
- brew install ory/tap/cli
24
- ```
25
-
26
- Verify the installation:
27
-
28
- ``` shell
29
- ory help
30
- ```
31
-
32
- ### Linux
33
-
34
- The Ory CLI works on all Linux distributions. Run this command to install:
35
-
36
- ``` shell
37
- bash <( curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -b . ory
38
- ```
39
-
40
- You may want to move the Ory CLI to your ` $PATH ` :
41
-
42
- ``` shell
43
- sudo mv ./ory /usr/local/bin/
44
- ```
45
-
46
- Verify the installation after moving to ` $PATH ` :
47
-
48
- ``` shell
49
- ory help
50
- ```
51
-
52
- ### Windows
53
-
54
- To install the CLI on Windows, use [ scoop] ( https://scoop.sh ) . Run:
55
-
56
- ``` shell
57
- > scoop bucket add ory https://github.com/ory/scoop.git
58
- > scoop install ory
59
- ```
60
-
61
- Verify the installation:
62
-
63
- ``` shell
64
- ory help
19
+ <Install />
65
20
```
66
21
67
- ### Docker
22
+ #### Docker
68
23
69
24
``` shell
70
25
# ## Pull Ory CLI image
@@ -74,7 +29,7 @@ docker pull oryd/ory
74
29
docker run --rm -it oryd/ory help
75
30
```
76
31
77
- ### Binary
32
+ #### Binary
78
33
79
34
You can download the server and client binaries from the [ GitHub "releases" tab] ( https://github.com/ory/cli/releases ) .
80
35
Original file line number Diff line number Diff line change 1
1
import React from "react"
2
2
import CodeBlock from "@theme/CodeBlock"
3
3
4
- export default function MacOS ( props : { repo : string ; name : string } ) {
5
- const { repo, name } = props
4
+ export default function MacOS ( props : {
5
+ repo : string
6
+ name : string
7
+ command : string
8
+ } ) {
9
+ const { repo, name, command } = props
6
10
return (
7
11
< >
8
12
< p >
9
13
Install { name } using < a href = { "https://brew.sh" } > homebrew</ a > on macOS:
10
14
</ p >
11
15
< CodeBlock language = "shell" > { `brew install ory/tap/${ repo }
12
- ${ repo } help`} </ CodeBlock >
16
+ ${ command } help`} </ CodeBlock >
13
17
</ >
14
18
)
15
19
}
Original file line number Diff line number Diff line change @@ -731,22 +731,6 @@ const hydra: SidebarItemsConfig = [
731
731
items : [
732
732
"hydra/self-hosted/deploy-hydra-example" ,
733
733
"hydra/self-hosted/upgrade" ,
734
- "hydra/reference/api" ,
735
- {
736
- "Command Line Interface (CLI)" : [
737
- {
738
- type : "autogenerated" ,
739
- dirName : "hydra/cli" ,
740
- } ,
741
- ] ,
742
- } ,
743
- {
744
- SDK : [
745
- "hydra/sdk/overview" ,
746
- "hydra/self-hosted/go" ,
747
- "hydra/self-hosted/js" ,
748
- ] ,
749
- } ,
750
734
] ,
751
735
} ,
752
736
{
You can’t perform that action at this time.
0 commit comments