There’s a lot of similarities between npm and Yarn. As the newer technology Yarn (released 2016) drew a lot of inspiration from npm (2010). On the flip-side, their similarities can lead to confusion and silly mistakes if you find yourself using both package managers.
|Installing dev package|
|Uninstall dev package|
|Global install package|
|Global uninstall package|
There are some commands that Yarn decided not to change. Here’s a quick breakdown: