Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit f97c3f2

Browse files
authored
Update README.md
1 parent 7f779a7 commit f97c3f2

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ For instance, if you are using a `VPN` to connect to your enterprise network to
1212

1313
## Installation
1414

15-
```shell
16-
gh extension install github/gh-net
17-
```
18-
1915
*This extension depends on the latest features of GitHub CLI, please make sure [to upgrade it](https://github.com/cli/cli#installation).*
2016

2117
<details>
@@ -24,11 +20,25 @@ gh extension install github/gh-net
2420
<img width="749" alt="image" src="https://user-images.githubusercontent.com/1478800/161620032-c999de5a-7445-4662-bedd-95be830556e9.png">
2521
</details>
2622

23+
Mac OSx:
24+
25+
```shell
26+
gh extension install github/gh-net
27+
```
28+
29+
Linux:
30+
31+
```shell
32+
sudo gh extension install github/gh-net
33+
```
34+
35+
You need to use `sudo` during extension installation on Linux due to https://github.com/cli/cli/issues/5456. Hopefully it won't be the case in the future.
36+
2737
⚠️ If your Codespaces use non-default image, make sure that [GitHub CLI](https://cli.github.com/) is installed inside the Codespaces. The installation step can happen either in `Dockerfile` or in one of the `.devcontainer.json` lifecycle hooks e.g. [postCreateCommand](https://code.visualstudio.com/docs/remote/devcontainerjson-reference). See https://github.com/cli/cli#installation for GitHub CLI installation instructions.
2838

2939
<br />
3040

31-
Picking up new extension version:
41+
Upgrading the extension (you need `sudo` on Linux):
3242

3343
```shell
3444
gh extension upgrade github/gh-net

0 commit comments

Comments
 (0)