mac上如何使用node.js
ringa_lee
ringa_lee 2017-04-17 15:34:02
0
3
628

在mac机上如何安装使用Node.js,如何搭建服务器,启用服务器,测试等等。

ringa_lee
ringa_lee

ringa_lee

reply all(3)
黄舟

Of course it is best to refer to the official documentation: https://nodejs.org/en/download/.

PHPzhong

brew install node
brew install nginx
npm install express
npm install pm2 -g
pm2 start bin/www
Modify nginx.conf Add server reverse proxy
Modify hosts
Access your project

This is the process, for reference only

洪涛

Everything mentioned above is fine. I’ll add another one: use nvm to install it

  1. curl -o- https://raw.githubusercontent... | bash

  2. nvm install node
    See here for details: https://github.com/creationix...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template