In the blog post announcing yarn (an alternative npm client) they say, "The easiest way to get started is to run npm install -g yarn
". But if you go to the "install yarn" page in their docs, "npm install yarn" isn't listed on any of the platform-specific installation pages, and it's only offered as the third of three options on the "Alternatives" page. Furthermore when you npm install
yarn it prints a deprecation warning, "It is recommended to install Yarn using the native installation method for your environment." So my question is if npm install
is the easiest installation method, why isn't it a recommended method in their docs? Are there disadvantages to installing yarn using npm
?