Skip to content

Commit fb76812

Browse files
nidinjmrodri
authored andcommitted
Display simple installation first (#1730)
Move `brew install operator-sdk` to the top since it's the simplest installation method. People only see `brew install operator-sdk` after downloading from Github method. * Display simple installation first * Updated description of installtion method * Renamed MacOS -> macOS * Install from Homebrew (macOS) link fixed
1 parent 32a6a5a commit fb76812

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

doc/user/install-operator-sdk.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# Install the Operator SDK CLI
22

3+
- [Install from Homebrew (macOS)](#install-from-homebrew-macos)
34
- [Install from GitHub release](#install-from-github-release)
4-
- [Install from Homebrew](#install-from-homebrew)
55
- [Compile and install from master](#compile-and-install-from-master)
66

7+
## Install from Homebrew (macOS)
8+
9+
If you are using [Homebrew][homebrew_tool], you can install the SDK CLI tool with the following command:
10+
11+
```sh
12+
$ brew install operator-sdk
13+
```
714

815
## Install from GitHub release
916

@@ -70,14 +77,6 @@ $ chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu && sudo mkdir -p /us
7077
$ chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-apple-darwin && sudo mkdir -p /usr/local/bin/ && sudo cp operator-sdk-${RELEASE_VERSION}-x86_64-apple-darwin /usr/local/bin/operator-sdk && rm operator-sdk-${RELEASE_VERSION}-x86_64-apple-darwin
7178
```
7279
73-
## Install from Homebrew
74-
75-
Alternatively, if you are using [Homebrew][homebrew_tool], you can install the SDK CLI tool with the following command:
76-
77-
```sh
78-
$ brew install operator-sdk
79-
```
80-
8180
## Compile and install from master
8281
8382
### Prerequisites

0 commit comments

Comments
 (0)