Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

npm/grunt: is it possible to install grunt without npm?

I am having so much problems with the proxy system of my entertprise

I was changing parameter using npm config set changing the variable proxy and http-proxy.

I installed in my .npmrc next lines

npm config set proxy http://my_user:[email protected]:8080 -g
npm config set https-proxy http://my_user:[email protected]:8080 -g

What I have in my mind it is try to install grunt in VS2012 without using npm, maybe like nuget.

Is it possible?

I am getting this error page when I am using npm install -g grunt-cli:

enter image description here

like image 486
David Avatar asked Aug 11 '15 15:08

David


1 Answers

Yes it is possible, you can download grunt and run it in your node.js environment, if your only problem is proxy or firewall but you have working node.js environment then just download it from the github.

You can download any npm package which is published also on the github and then copy it manually to you node_modules folder. Just beware that those packages may have dependencies on their own. SO that means you should run npm install in those downloaded folders and if it doesn't work do it manually for every dependency recursively until you are finished.

like image 59
tomastrajan Avatar answered Sep 22 '22 03:09

tomastrajan