Skip to content

Commit f0abdcd

Browse files
Ran-Yagnivade
authored andcommitted
Remove sudo from installation method (#142)
1 parent cd5e9a1 commit f0abdcd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A `Node.js` based command-line client for [tldr](https://github.com/tldr-pages/t
1515
## Installing
1616

1717
```bash
18-
sudo npm install -g tldr
18+
npm install -g tldr
1919
```
2020
## Usage
2121

@@ -130,6 +130,10 @@ fpath = (my/completions $fpath)
130130

131131
## FAQ
132132

133+
#### `npm install -g tldr` throws an error
134+
135+
You probably have a permission problem, which you can solve [Here](https://docs.npmjs.com/getting-started/fixing-npm-permissions).
136+
133137
#### Colors under Cygwin
134138

135139
Colors can't be shown under Mintty or PuTTY, because the dependency `colors.js` has a bug.

0 commit comments

Comments
 (0)