Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
29
Help us understand the problem. What is going on with this article?

More than 1 year has passed since last update.

@daikiojm

AmazonLinuxにyarnをインストールする

環境

インストール直後のAmazonLinuxを想定しています。

$ cat /etc/system-release
Amazon Linux AMI release 2017.03

インストール

レポジトリを取得する必要があるのでwgetをインストール

$ yum -y install wget

yumのyarnレポジトリ追加

$ wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo

rpmのnodeのレポジトリ追加

$ curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -

インストール

$ yum install yarn

確認

$ yarn --version
0.27.5
29
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
29
Help us understand the problem. What is going on with this article?