yarn安装

 

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

# node 8.0+

  # brew
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  # yarn
  brew update
  brew install yarn

  # vue-cli
  yarn global add @vue/cli

  # install packages
  yarn

你可能感兴趣的:(javasript,css,html)