You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
403B

  1. #!/bin/bash
  2. source /etc/profile.d/nvmsetup.sh
  3. nvm install --lts
  4. nvm use default
  5. # yes i know yarn says not to install it this way
  6. npm install -g npm
  7. npm install -g yarn
  8. #YARN="/usr/local/nvm/versions/node/v*/bin/yarn"
  9. export PATH="$PATH:/usr/local/nvm/versions/node/v*/bin"
  10. NPM_PKGS="
  11. create-react-app
  12. jetpack
  13. now
  14. prettier
  15. "
  16. for PKG in $NPM_PKGS ; do
  17. yarn global add $PKG
  18. done