LoginSignup
3

More than 3 years have passed since last update.

Cloud9のNode.jsのバージョンを上げる

Posted at

はじめに

Cloud9で使用しているデフォルトのOSであるAmazon Linuxでは、Node.jsのバージョンがv10.19.0のため、2020/03/16時点で最新のv12.16.1にバージョンアップする。

前提条件

  • AWSにサインアップしていること
  • Cloud9のプロジェクトを作成していること
    • 本手順ではAmazon Linuxを使用している
cat /etc/system-release
Amazon Linux AMI release 2018.03

手順

以下のコマンドを実行します。

nvm install v12.16.1
nvm alias default v12.16.1
npm update -g npm
npm i -g npm

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
3