简体   繁体   中英

How to install particular yarn version in ubuntu

How to install yarn version 0.27.5 in ubuntu ? since the lattest update yarn version is 1.2.1.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM