Last active
September 16, 2025 04:15
-
Star
(122)
You must be signed in to star a gist -
Fork
(28)
You must be signed in to fork a gist
-
-
Save jonlabelle/c082700c1c249d986faecbd5abf7d65b to your computer and use it in GitHub Desktop.
Revisions
-
jonlabelle revised this gist
Mar 31, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ source: https://yarnpkg.com/en/docs/migrating-from-npm | npm | Yarn | |-------------------------------------------|---------------------------------| | `npm init` | `yarn init` | | `npm install` | `yarn install` | | `(N/A)` | `yarn install --flat` | | `(N/A)` | `yarn install --har` | -
jonlabelle revised this gist
Feb 15, 2020 . 1 changed file with 27 additions and 27 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,30 +8,30 @@ source: https://yarnpkg.com/en/docs/migrating-from-npm # npm vs Yarn Command Translation Cheat Sheet | npm | Yarn | |-------------------------------------------|---------------------------------| | `yarn init` | `npm init` | | `npm install` | `yarn install` | | `(N/A)` | `yarn install --flat` | | `(N/A)` | `yarn install --har` | | `(N/A)` | `yarn install --no-lockfile` | | `(N/A)` | `yarn install --pure-lockfile` | | `npm install [package]` | `(N/A)` | | `npm install --save [package]` | `yarn add [package]` | | `npm install --save-dev [package]` | `yarn add [package] --dev` | | `(N/A)` | `yarn add [package] --peer` | | `npm install --save-optional [package]` | `yarn add [package] --optional` | | `npm install --save-exact [package]` | `yarn add [package] --exact` | | `(N/A)` | `yarn add [package] --tilde` | | `npm install --global [package]` | `yarn global add [package]` | | `npm update --global` | `yarn global upgrade` | | `npm rebuild` | `yarn add --force` | | `npm uninstall [package]` | `(N/A)` | | `npm uninstall --save [package]` | `yarn remove [package]` | | `npm uninstall --save-dev [package]` | `yarn remove [package]` | | `npm uninstall --save-optional [package]` | `yarn remove [package]` | | `npm cache clean` | `yarn cache clean` | | `rm -rf node_modules && npm install` | `yarn upgrade` | | `npm version major` | `yarn version --major` | | `npm version minor` | `yarn version --minor` | | `npm version patch` | `yarn version --patch` | -
jonlabelle revised this gist
Feb 15, 2020 . 1 changed file with 28 additions and 24 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,32 +2,36 @@ title: npm vs Yarn Command Translation Cheat Sheet subtitle: CLI commands comparison author: yarn date: February 15, 2020 source: https://yarnpkg.com/en/docs/migrating-from-npm --- # npm vs Yarn Command Translation Cheat Sheet | npm | Yarn | |-------------------------------------------|-----------------------------------| | `yarn init` | `npm init` | | `npm install` | `yarn install` | | `(N/A)` | `yarn install --flat` | | `(N/A)` | `yarn install --har` | | `(N/A)` | `yarn install --no-lockfile` | | `(N/A)` | `yarn install --pure-lockfile` | | `npm install [package]` | `(N/A)` | | `npm install --save [package]` | `yarn add [package]` | | `npm install --save-dev [package]` | `yarn add [package] [--dev]` | | `(N/A)` | `yarn add [package] --peer` | | `npm install --save-optional [package]` | `yarn add [package] [--optional]` | | `npm install --save-exact [package]` | `yarn add [package] [--exact]` | | `(N/A)` | `yarn add [package] [--tilde]` | | `npm install --global [package]` | `yarn global add [package]` | | `npm update --global` | `yarn global upgrade` | | `npm rebuild` | `yarn add --force` | | `npm uninstall [package]` | `(N/A)` | | `npm uninstall --save [package]` | `yarn remove [package]` | | `npm uninstall --save-dev [package]` | `yarn remove [package]` | | `npm uninstall --save-optional [package]` | `yarn remove [package]` | | `npm cache clean` | `yarn cache clean` | | `rm -rf node_modules && npm install` | `yarn upgrade` | | `npm version major` | `yarn version --major` | | `npm version minor` | `yarn version --minor` | | `npm version patch` | `yarn version --patch` | -
jonlabelle revised this gist
Dec 13, 2019 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,21 +11,21 @@ source: https://yarnpkg.com/en/docs/migrating-from-npm | npm | Yarn | |-------------------------------------------|--------------------------------------| | `npm install` | `yarn install` | | `(N/A)` | `yarn install --flat` | | `(N/A)` | `yarn install --har` | | `(N/A)` | `yarn install --no-lockfile` | | `(N/A)` | `yarn install --pure-lockfile` | | `npm install [package]` | `(N/A)` | | `npm install --save [package]` | `yarn add [package]` | | `npm install --save-dev [package]` | `yarn add [package] [--dev/-D]` | | `(N/A)` | `yarn add [package] [--peer/-P]` | | `npm install --save-optional [package]` | `yarn add [package] [--optional/-O]` | | `npm install --save-exact [package]` | `yarn add [package] [--exact/-E]` | | `(N/A)` | `yarn add [package] [--tilde/-T]` | | `npm install --global [package]` | `yarn global add [package]` | | `npm update --global` | `yarn global upgrade` | | `npm rebuild` | `yarn install --force` | | `npm uninstall [package]` | `(N/A)` | | `npm uninstall --save [package]` | `yarn remove [package]` | | `npm uninstall --save-dev [package]` | `yarn remove [package]` | | `npm uninstall --save-optional [package]` | `yarn remove [package]` | -
jonlabelle revised this gist
Dec 13, 2019 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,21 +11,21 @@ source: https://yarnpkg.com/en/docs/migrating-from-npm | npm | Yarn | |-------------------------------------------|--------------------------------------| | `npm install` | `yarn install` | | (N/A) | `yarn install --flat` | | (N/A) | `yarn install --har` | | (N/A) | `yarn install --no-lockfile` | | (N/A) | `yarn install --pure-lockfile` | | `npm install [package]` | (N/A) | | `npm install --save [package]` | `yarn add [package]` | | `npm install --save-dev [package]` | `yarn add [package] [--dev/-D]` | | (N/A) | `yarn add [package] [--peer/-P]` | | `npm install --save-optional [package]` | `yarn add [package] [--optional/-O]` | | `npm install --save-exact [package]` | `yarn add [package] [--exact/-E]` | | (N/A) | `yarn add [package] [--tilde/-T]` | | `npm install --global [package]` | `yarn global add [package]` | | `npm update --global` | `yarn global upgrade` | | `npm rebuild` | `yarn install --force` | | `npm uninstall [package]` | (N/A) | | `npm uninstall --save [package]` | `yarn remove [package]` | | `npm uninstall --save-dev [package]` | `yarn remove [package]` | | `npm uninstall --save-optional [package]` | `yarn remove [package]` | -
jonlabelle revised this gist
Dec 13, 2019 . 1 changed file with 23 additions and 23 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,26 +8,26 @@ source: https://yarnpkg.com/en/docs/migrating-from-npm # npm vs Yarn Command Translation Cheat Sheet | npm | Yarn | |-------------------------------------------|--------------------------------------| | `npm install` | `yarn install` | | `(N/A)` | `yarn install --flat` | | `(N/A)` | `yarn install --har` | | `(N/A)` | `yarn install --no-lockfile` | | `(N/A)` | `yarn install --pure-lockfile` | | `npm install [package]` | `(N/A)` | | `npm install --save [package]` | `yarn add [package]` | | `npm install --save-dev [package]` | `yarn add [package] [--dev/-D]` | | `(N/A)` | `yarn add [package] [--peer/-P]` | | `npm install --save-optional [package]` | `yarn add [package] [--optional/-O]` | | `npm install --save-exact [package]` | `yarn add [package] [--exact/-E]` | | `(N/A)` | `yarn add [package] [--tilde/-T]` | | `npm install --global [package]` | `yarn global add [package]` | | `npm update --global` | `yarn global upgrade` | | `npm rebuild` | `yarn install --force` | | `npm uninstall [package]` | `(N/A)` | | `npm uninstall --save [package]` | `yarn remove [package]` | | `npm uninstall --save-dev [package]` | `yarn remove [package]` | | `npm uninstall --save-optional [package]` | `yarn remove [package]` | | `npm cache clean` | `yarn cache clean` | | `rm -rf node_modules && npm install` | `yarn upgrade` | -
jonlabelle revised this gist
Jul 2, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,8 @@ date: July 2, 2017 source: https://yarnpkg.com/en/docs/migrating-from-npm --- # npm vs Yarn Command Translation Cheat Sheet | npm | Yarn | |-----------------------------------------|------------------------------------| | npm install | yarn install | -
jonlabelle created this gist
Jul 2, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ --- title: npm vs Yarn Command Translation Cheat Sheet subtitle: CLI commands comparison author: yarn date: July 2, 2017 source: https://yarnpkg.com/en/docs/migrating-from-npm --- | npm | Yarn | |-----------------------------------------|------------------------------------| | npm install | yarn install | | (N/A) | yarn install --flat | | (N/A) | yarn install --har | | (N/A) | yarn install --no-lockfile | | (N/A) | yarn install --pure-lockfile | | npm install [package] | (N/A) | | npm install --save [package] | yarn add [package] | | npm install --save-dev [package] | yarn add [package] [--dev/-D] | | (N/A) | yarn add [package] [--peer/-P] | | npm install --save-optional [package] | yarn add [package] [--optional/-O] | | npm install --save-exact [package] | yarn add [package] [--exact/-E] | | (N/A) | yarn add [package] [--tilde/-T] | | npm install --global [package] | yarn global add [package] | | npm update --global | yarn global upgrade | | npm rebuild | yarn install --force | | npm uninstall [package] | (N/A) | | npm uninstall --save [package] | yarn remove [package] | | npm uninstall --save-dev [package] | yarn remove [package] | | npm uninstall --save-optional [package] | yarn remove [package] | | npm cache clean | yarn cache clean | | rm -rf node_modules && npm install | yarn upgrade |