mac sublime下运行 nodejs
2015-10-25 11:37
597 查看
首先要在mac 上安装node ,使用命令行 node -v 查看是否安装成功。
在sublime下 tools-编译系统-新编译系统 的文件写{
}
第一行指向安装的node 的路径~~~
然后写一个js 文件 ,运行以下就成功了~
嗯 mac 的截图快捷键时command+shift+4
在sublime下 tools-编译系统-新编译系统 的文件写{
"cmd":["/usr/src/bin/node","$file"], "selector":"source.js"
}
第一行指向安装的node 的路径~~~
然后写一个js 文件 ,运行以下就成功了~
嗯 mac 的截图快捷键时command+shift+4
相关文章推荐
- [24]Swap Nodes in Pairs
- Leetcode: Populating Next Right Pointers in Each Node II
- sublime Text 3 node.js plugin
- node,core,CPU和GPU的关系
- Hadoop namenode无法启动
- Populating Next Right Pointers in Each Node
- uva548 -treeDescription Download as PDF You are to determine the value of the leaf node in a given
- leetcode 19 Remove Nth Node from end of list
- 关于nodeJS的配置
- node 域名
- 41.Remove Nth Node From End of List
- Reverse Nodes in K-Group - LeetCode
- Event Sourcing - ENode(三)
- LeetCode #24 Swap Nodes in Pairs (M)
- Swap Nodes in Pairs - LeetCode
- Ubuntu 14.04 下配置node js和npm
- Node.js搭建Web服务器
- 图解NodeJS【基于事件、回调的单线程高性能服务器】原理
- 极路由H3C(华3)版本号正确的填写格式
- NodeAsp——像开发NodeJS应用一样玩转ASP