====================================
配置NODE
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
配置 NPM国内镜像题
alias cnpm=”npm –registry=https://registry.npm.taobao.org \
–cache=$HOME/.npm/.cache/cnpm \
–disturl=https://npm.taobao.org/dist \
–userconfig=$HOME/.cnpmrc”
安装常用的NPM软件
npm -g install bower babel-cli babel-preset-es2015 babel-plugin-external-helpers
npm WARN fsevents@^1.0.0 原因是因为: fsevent是mac osx系统的,在win或者Linux下使用了 所以会有警告,忽略即可。意思就是你已经安装成功了。
npm -g install less coffee-script angular-gettext-cli angular-gettext-tools
安装python 插件
sudo apt-get install build-essential python-pip python-dev python-lxml libffi-dev libssl-dev libjpeg-dev libpng-dev uuid-dev python-dbus
Upgrade PIP:
sudo pip install 'setuptools>=0.6rc11' 'pip>=6' wheel