8
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntu 18.04 LTSにNode.js 10.xをインストールする方法

Last updated at Posted at 2017-04-15

Ubuntu 18.04 LTSにNode.js 10.xをインストールする方法についてまとめます。

#インストール方法

  1. curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -コマンドを実行し、リポジトリを追加します。
  2. curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -コマンドを実行し、リポジトリを追加します。
  3. echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.listコマンドを実行し、リポジトリを追加します。
  4. sudo apt updateコマンドを実行し、リポジトリ一覧を更新します。
  5. sudo apt install nodejs yarn build-essentialコマンドを実行し、Node.js 10.xをインストールします。

#参考文献

8
9
0

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
8
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?