- Node.js Web Development
- David Herron
- 131字
- 2021-06-25 21:53:58
Installing on macOS with MacPorts
The MacPorts project (http://www.macports.org/) has for years been packaging a long list of open source software packages for macOS, and they have packaged Node.js. After you have installed MacPorts using the installer on their website, installing Node.js is pretty much this simple:
$ port search nodejs npm
...
nodejs6 @6.12.0 (devel, net)
Evented I/O for V8 JavaScript
nodejs7 @7.10.1 (devel, net)
Evented I/O for V8 JavaScript
nodejs8 @8.9.1 (devel, net)
Evented I/O for V8 JavaScript
nodejs9 @9.2.0 (devel, net)
Evented I/O for V8 JavaScript
Found 6 ports.
--
npm4 @4.6.1 (devel)
node package manager
npm5 @5.5.1 (devel)
node package manager
Found 4 ports.
$ sudo port install nodejs8 npm5 .. long log of downloading and installing prerequisites and Node $ which node /opt/local/bin/node $ node --version v8.9.1
推薦閱讀
- DevOps:軟件架構師行動指南
- 一步一步學Spring Boot 2:微服務項目實戰
- Go語言高效編程:原理、可觀測性與優化
- Java 9 Programming Blueprints
- UI智能化與前端智能化:工程技術、實現方法與編程思想
- 用Flutter極速構建原生應用
- Mastering RStudio:Develop,Communicate,and Collaborate with R
- SAP BusinessObjects Dashboards 4.1 Cookbook
- Arduino家居安全系統構建實戰
- Java高并發核心編程(卷1):NIO、Netty、Redis、ZooKeeper
- Kubernetes源碼剖析
- Fast Data Processing with Spark(Second Edition)
- .NET 4.5 Parallel Extensions Cookbook
- iOS開發項目化入門教程
- ABAQUS6.14中文版有限元分析與實例詳解