LoginSignup
5

More than 5 years have passed since last update.

macでバージョンを指定してyarnをインストールする

Last updated at Posted at 2018-04-06

homebrewからだとうまくいないかつ、前回困ったときも探すのにけっこう時間をかけてしまった気がするのでメモ

コマンド

curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version [version]

あとはnpmでバージョン指定でも

npm install -g yarn@[version]

参考

Use homebrew-versions to install an old version of yarn #1882

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5