Skip to content

Commit 8d6faca

Browse files
committed
Updating README to remove the hacky step
1 parent 4422ce7 commit 8d6faca

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,8 @@ A `Node.js` based command-line client for [tldr](https://github.com/tldr-pages/t
1414
## Installing
1515

1616
```bash
17-
npm install -g tldr
17+
sudo npm install -g tldr
1818
```
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.
27-
2819
## Usage
2920

3021
To see tldr pages:

0 commit comments

Comments
 (0)