LoginSignup
2
2

More than 1 year has passed since last update.

AWS EC2 AmazonLinux2 yarnコマンドを実行できるようにする

Posted at

概要

  • EC2のAmazonLinux2インスタンスにてyarnコマンドを実行できるようにする方法をまとめる。

前提

方法

  1. EC2インスタンスにssh接続を行い、下記コマンドを実行してyarnをインストールする。

    $ npm install --global yarn
    
  2. インストール後に下記コマンドを実行してyarnコマンドが実行できる事を確認する。(command not foundがでなければOK)

    $ yarn --version
    
2
2
1

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
2
2