yarn¶
nodejs package manager
install packages¶
yarn
# install packages ifpackage.json
is availableyarn add PACKAGE
# install PACKAGE locallyyarn add -D DEV_PACKAGE
# install DEV PACKAGE as development dependencyyarn global add PACKAGE
# add PACKAGE globally
upgrade packages¶
yarn upgrade-interactive
# upgrade local packages interactivelyyarn global upgrade-interactive
# update global packages interactivelyyarn upgrade --latest
# well, sometimes you actually need this. why not, right...?