You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-10Lines changed: 1 addition & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,8 @@ A `Node.js` based command-line client for [tldr](https://github.com/tldr-pages/t
14
14
## Installing
15
15
16
16
```bash
17
-
npm install -g tldr
17
+
sudo npm install -g tldr
18
18
```
19
-
20
-
If you are installing with sudo, pass the `--user` parameter:
21
-
22
-
```bash
23
-
sudo npm install -g tldr --user=$(whoami)
24
-
```
25
-
26
-
This is required because we populate the page cache after installation. And npm by default downgrades the post-install user permission level to `nobody` when run as root.
0 commit comments