These instructions only cover Yarn versions prior to 2.0. Those versions entered maintenance mode in January 2020 and will eventually reach their end-of-life in terms of support. Please see the main website for the most up-to-date documentation: yarnpkg.com/getting-started/migration.
![Yarn](https://cdn-ak-scissors.b.st-hatena.com/image/square/454ed6fe1bf2737b79d5b8230020df4bc355b464/height=288;version=1;width=512/https%3A%2F%2Fclassic.yarnpkg.com%2Fassets%2Fog_image.png)