web开发工具软件使用问题记录

一、右键 - 添加Git Bash Here菜单

转自:http://blog.csdn.net/u014527912/article/details/51723735

步骤

        1、通过在“运行”中输入‘regedit’,打开注册表。

        2、找到[HKEY_CLASSES_ROOT\Directory\Background]。

    3、在[Background]下如果没有[shell],则右键-新建项[shell]。

    4、在[shell]下右键-新建项[open in git],其值为“Git Bash Here",此为右键菜单显示名称。

    5、在[shell]下右键-新建-字符串值[Icon],双击编辑,其值为“D:\Tools\VersonCtrs\Git\Git\mingw64\share\git\git-for-windows.ico”。此为菜单加图标。

    6、在[open in git]下右键-新建-项[command],其值为"D:\Tools\VersonCtrs\Git\Git\bin\bash.exe" --login -i。

    

 Node.js和npm的安装

    安装过程中出现的问题:(查看 http://www.runoob.com/nodejs/nodejs-npm.html)

  1. 当使用命令 npm install express -g  时,发现老是出现错误,好像跟网络连接有关,其中涉及到proxy;这时先运行 npm config set proxy null;然后在使用

    npm install express -g 命令进行全局安装即可

  2. 使用淘宝 NPM 镜像, 使用淘宝定制的 cnpm (gzip 压缩支持) 命令行工具代替默认的 npm:

   npm install -g cnpm --registry=https://registry.npm.taobao.org

   这样就可以使用 cnpm 命令来安装模块了:

   cnpm install [name]
 
原文地址:https://www.cnblogs.com/shaunZh/p/5730878.html