Skip to content

Commit b3502df

Browse files
igauravsehrawatjakubpawlowicz
authored andcommitted
Documentation fix: Added missing global option in npm install. (clean-css#14)
1 parent 764b4db commit b3502df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ clean-css-cli requires Node.js 4.0+ (tested on Linux, OS X, and Windows)
4747
# Install
4848

4949
```shell
50-
npm install clean-css-cli
50+
npm install clean-css-cli -g
5151
```
52+
Note: Global install via -g option is recommended unless you want to execute the binary via a relative path, i.e. ./node_modules/.bin/cleancss
5253

5354
# Use
5455

0 commit comments

Comments
 (0)