๐ฎ Transform NPM To Yarn!
https://github.com/pi0/yarnpm.git
npm commands to yarn, use npm as yarn!
WARNING: PLEASE DON'T USE THIS PACKAGE FOR NOW, IT MAY BREAK YOUR NPM, A BETTER INSTALLER APPROACH IS COMMING SOON :)
npm command, this tool adds a global npm
wrapper binary which:
npm to yarn (for example npm install=>yarn add)npmnpm commandInstall global binary:
npm install --global yarnpm
Install a syslink from yarnpm to /usr/local/bin/npm or %WINDOWS%/system32/npm :
### RUN ME AS ROOT/AMINISTRATOR ###
yarnpm yarnpm install
Check npm command in a NEW Terminal
$ npm --help
Usage: yarn install [flags]
Options:
-h, --help output usage information
-V, --version output the version number
Additional Steps if it does not works
Force Using NPM Or Yarn
Use --npm or --yarn flag
npm run install:npm
npm run install:global