Skip to content

Instantly share code, notes, and snippets.

@misostack
Last active February 15, 2022 13:17
Show Gist options
  • Save misostack/b15c8ab3080a17621a26aa2c00ef20c8 to your computer and use it in GitHub Desktop.
Save misostack/b15c8ab3080a17621a26aa2c00ef20c8 to your computer and use it in GitHub Desktop.
All About Yarn

Global

list global

yarn global list

add global

yarn global add {package-name}

upgrade global

yarn global upgrade {package-name) --lastest

remove global

yarn global remove {package-name}

Local

Upgrade all package

yarn upgrade

@misostack
Copy link
Author

Mapping

npx create-react-app my-app
yarn create react-app my-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment