A few handy snippets that I've made into aliases
# Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update' # Clear out node_modules and re-install everything alias yarn.please="printf 'Removing node_modules folder...' && rm -rf node_modules && yarn" alias npm.please="printf 'Removing node_modules folder...' && rm -rf node_modules && npm i"
great suggestions!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A few handy snippets that I've made into aliases
great suggestions!