`
sunxboy
  • 浏览: 2831520 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

npm install browserify in windows

 
阅读更多

install browserify in windows

 

1. install git windows application

 

2. install "npm" and make sure "npm“ command is working

 

3. open git bash, switch nodejs folder ex: /d/dev/Softwares/nodejs/node_modules

 

4. run "npm install browserify -g", make sure in "node_modules"folder we can find new folder "browserify".

 

5 find folder ".bin" in "node_modules" folder.

 

6 add ".bin" full path into system environment path

 

that's it.

 

分享到:
评论
1 楼 sunxboy 2015-01-15  
如何让npm 运行安装在本地的bundles:
I can give you an inelegant solution, which is working for me. I just exported my path in my .bashrc file
export PATH="./node_modules/.bin:$PATH"

相关推荐

Global site tag (gtag.js) - Google Analytics