1 下载地址:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
webstorm:http://www.jetbrains.com/webstorm文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
node.js:https://nodejs.org/download/文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
2 安装node.js文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
按照提示一步步安装即可,不用多说,安装完成后检测PATH环境变量是否配置了Node.js,点击开始=》运行=》输入"cmd" => 输入命令"path",输出如下结果:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
PATH=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32; C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\; c:\python32\python;C:\MinGW\bin;C:\Program Files\GTK2-Runtime\lib; C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\nodejs\; C:\Users\rg\AppData\Roaming\npm
我们可以看到环境变量中已经包含了C:\Program Files\nodejs\文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
检查Node.js版本文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
3 安装配置webstorm文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
安装过程很简单,不多说,配置过程如下:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
3.1 File->setting 输入node.js文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
配置Node interpreter文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
3.2 配置node.js的source code文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
3.3 测试是否可以运行node.js 代码文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
确实比较好用:)文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/gcs/8479.html