Node JS 学习笔记

NodeJS 学习

NodeJS
NPMJS
Github
StackOverFlow
Brew.sh MacOS套件管理器

Installation of MACOS

Node.js was installed at
/usr/local/bin/node
npm was installed at
/usr/local/bin/npm
Make sure that /usr/local/bin is in your $PATH.

  1. xcode-select -p 检查是否安装xcode
  2. xcode-select -install 安装xcode
  3. 安装 homebrew 访问:brew.sh
  4. 终端输入:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  5. 查看node版本 node -v
  6. 查看npm版本 npm -v
  7. 进入node交互环境 node 该环境下可直接输入javascript语句
  8. 退出NodeJS环境 control+c 两次
  9. 至此 NodeJS环境配置完成
  10. Brew安装其它程序: brew install git
188bet w88 shijiebei manbetx.com vinbet686.com shijiebei 12bet w88youde 188kaihu 188asia.com shenbotaiyangcheng