1414 - [ Installation command] ( #installation-command )
1515 - [ Binary download] ( #binary-download )
1616 - [ Run with Docker] ( #run-with-docker )
17+ - [ Install using HomeBrew] ( #install-using-homebrew )
1718- [ Usage] ( #usage )
1819 - [ Authenticating the CLI] ( #authenticating-the-cli )
1920 - [ Examples] ( #examples )
@@ -44,13 +45,19 @@ curl -fsSL https://raw.githubusercontent.com/ovh/ovhcloud-cli/main/install.sh |
4445
4546You can also run the CLI using Docker:
4647
47- ``` bash
48+ ``` sh
4849docker run -it --rm -v ovhcloud-cli-config-files:/config ovhcom/ovhcloud-cli login
4950```
5051
52+ ## Install using HomeBrew
53+
54+ ``` sh
55+ brew install ovh/tap/ovhcloud-cli
56+ ```
57+
5158# Usage
5259
53- ``` bash
60+ ``` sh
5461$ ovhcloud [command] {subcommands} {parameters/flags}
5562```
5663
@@ -143,7 +150,7 @@ default_cloud_project = <public cloud project ID>
143150
144151* Using environment variables:
145152
146- ``` bash
153+ ``` sh
147154OVH_ENDPOINT=ovh-eu
148155OVH_APPLICATION_KEY=xxx
149156OVH_APPLICATION_SECRET=xxx
@@ -152,7 +159,7 @@ OVH_CLOUD_PROJECT_SERVICE=<public cloud project ID>
152159```
153160
154161* Interactive login:
155- ``` bash
162+ ``` sh
156163# Log in and create API credentials (interactive)
157164ovhcloud login
158165```
@@ -169,7 +176,7 @@ ovhcloud login
169176
170177# Generate Shell Completion
171178
172- ``` bash
179+ ``` sh
173180# Bash
174181eval " $( ./ovhcloud completion bash) "
175182# Zsh
@@ -190,7 +197,7 @@ Have a look in [CONTRIBUTING.md](https://github.com/ovh/ovhcloud-cli/blob/master
190197
191198## Build
192199
193- ``` bash
200+ ``` sh
194201# Build the OVHcloud cli
195202make build
196203
@@ -203,7 +210,7 @@ make wasm
203210
204211## Run the tests
205212
206- ``` bash
213+ ``` sh
207214make test
208215```
209216
0 commit comments