cleancss, command not found if global isn't used while installing clean-css-cli
See original GitHub issueHi, Awesome tool.
cleancss
isn’t available on command line unless I install it globally. Pasting output for problem.
➜ Server git:(minify-assests) ✗ npm install --save clean-css-cli
~/Server
└── clean-css-cli@4.1.6
➜ Server git:(minify-assests) ✗ cleancss
zsh: command not found: cleancss
In the documentation it’s mentioned to install it locally using npm install clean-css-cli
. Is it intended behavior?
I am using macOS, Sierra v10.12.4.
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
cleancss, command not found if global isn't used ... - GitHub
Hi, Awesome tool. cleancss isn't available on command line unless I install it globally. Pasting output for problem.
Read more >Clean-css NPM Command not found - Stack Overflow
If clean -css is also not in the package.json file of your project's directory, perhaps try to install it globally: npm install -g...
Read more >clean-css-cli - npm
A command-line interface to clean-css CSS optimization library. Latest version: 5.6.1, last published: 6 months ago. Start using ...
Read more >clean-css | Yarn - Package Manager
clean -css is a fast and efficient CSS optimizer for Node.js platform and any modern browser. According to tests it is one of...
Read more >How to use clean-css CLI?
Clean -css is a fast and efficient Node.js library for minifying CSS files. According to tests it is one of the best available....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, we need to make it clear only the global install puts cleancss in the global $PATH. PRs are always welcome!
Closing as ‘won’t fix’ as clean-css-cli is going into maintenance mode. If anyone wants to bring it back up, please submit a PR.