LESS on OS X 指北

简介

绝对无任何弯路的世界第一指北教程

安装步骤

天朝用户:先开 VPN

装 Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

再装 node
brew install node

会有提示:

Please add /usr/local/lib/node_modules to your NODE_PATH environment variable to have node libraries picked up.

装 node 的包管理:npm
curl http://npmjs.org/install.sh | sh

再装 LESS,-g 代表 global,推荐
npm install -g less

有用信息

  1. 如何在 npm 中卸载 LESS:npm uninstall -g less
  2. 如何卸载 npm
  3. 如何在 Homebrew 中卸载 node:brew uninstall node
  4. 如何卸载 Homebrew