Skip to content

Instantly share code, notes, and snippets.

@htxuankhoa
Last active June 22, 2018 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save htxuankhoa/3162bcd2ca7d29b12c8a91e5ab803fa5 to your computer and use it in GitHub Desktop.
Save htxuankhoa/3162bcd2ca7d29b12c8a91e5ab803fa5 to your computer and use it in GitHub Desktop.
Summary all update/upgrade commands
$ sudo composer global self-update
$ sudo composer global update # update all packages
$ composer global show -i # show installed packages
$ sudo composer global update "laravel/installer"
npm i -g npm@latest
npm -g update # update all global packages
npm i -g cordova
npm i -g ionic@latest
npm i -g @angular/cli
# update nodejs
$ sudo npm cache clean -f
$ sudo npm i -g n
$ sudo n stable
$ npm install -g firebase-tools
$ firebase login
$ firebase init
$ firebase deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment