Difference between revisions of "Yarn"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* Website: https://yarnpkg.com/ | * Website: https://yarnpkg.com/ | ||
* macOS: <code>[[brew install yarn]]</code> | * macOS: <code>[[brew install yarn]]</code> | ||
− | * Linux: <code>[[apt install npm]] && [[npm install --global yarn]]</code> | + | * Linux: <code>[[apt install -y npm]] && [[npm install --global yarn]]</code> |
== Basic commands == | == Basic commands == |
Revision as of 11:17, 30 June 2023
wikipedia:Yarn (package manager) (June 2016) is a package manager for node.js JavaScript runtime that doubles down as project manager.
- Website: https://yarnpkg.com/
- macOS:
brew install yarn
- Linux:
apt install -y npm && npm install --global yarn
Basic commands
yarn --help
yarn install
yarn create
yarn transpile
yarn run
yarn run transpile-watch
yarn docker-migrate
yarn up
yarn test-up
yarn test
yarn create-migration
yarn e2e
yarn docker-coverage
yarn global add wait-on
yarn build
yarn start
yarn config
Errors
yarn env: node: No such file or directory
Related terms
- Terser
npm
- Caching Yarn dependencies
- Review https://yarnpkg.com/features/offline-cache
Activities
- Read stackoverflow: https://stackoverflow.com/questions/tagged/yarnpkg
See also
yarn [ create | list | up | add | run | install | build | transpile | transpile-watch | wsrun| version | --help ]
- JavaScript: JavaScript runtime, Web framework, JSX, Node.js, React and React Native, Electron, npm, cypress, v8 engine, Vue.js, Redux, Yarn, Craco, Terser, Lodash, Lerna, ECMAScript, Vite, EJS, WebGL, jQuery, DataTables, Prototype pollution
Advertising: