流星安装演练

本快速入门是为 Mac OSX Mavericks 编写的,并且比其他安装说明更冗长。它应该有希望涵盖一些边缘情况,例如设置路径和配置 NPM,这可能导致安装出错。

# install meteor
    curl https://install.meteor.com | sh
    
    # check it's installed correctly
    meteor --version
    
    # install node
    # as of OSX Mavericks, we need the GUI installer (?!)
    # when a good command line alternative is found, we'll post it
    http://nodejs.org/download/
    
    # install npm
    curl -0 -L https://npmjs.org/install.sh | sh
    
    # check node is installed correctly
    node --version
    
    # check npm is installed correctly
    npm -version
    
    # find your npm path
    which npm
    
    # make sure npm is in your path
    sudo nano ~/.profile
      export PATH=$PATH:/usr/local/bin