How to install yarn version 0.27.5 in ubuntu ? since the lattest update yarn version is 1.2.1.
You can specify versions using one of these: yarn add package-name installs the “latest” version of the package. yarn add [email protected] installs a specific version of a package from the registry. yarn add package-name@tag installs a specific “tag” (e.g. beta , next , or latest ).
In order to update your version of Yarn, you can run one of the following commands: npm install --global yarn - if you've installed Yarn via npm (recommended) curl --compressed -o- -L https://yarnpkg.com/install.sh | bash if you're on Unix. otherwise, check the docs of the installer you've used to install Yarn.
For npm install specific version, use npm install [package-name]@[version-number]. Use npm view [package-name] version to know the specific latest version of a package available on the npm registry. Use npm list [package-name] to know the specific latest version of an installed package.
You can pick any release of yarn by looking at https://github.com/yarnpkg/yarn/releases and scrolling and paging to version you need.
For yarn 0.27.5, go to https://github.com/yarnpkg/yarn/releases/tag/v0.27.5 you can see all the packages for yarn 0.27.5. Download yarn_0.27.5_all.deb (Ubuntu is a Debian-based Linux) then you can install it with dpkg
.
# wget https://github.com/yarnpkg/yarn/releases/download/v0.27.5/yarn_0.27.5_all.deb
# dpkg -i yarn_0.27.5_all.deb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With