WindowsでNode.jsをインストールする手順です。
インストーラのダウンロード
以下のサイトにアクセスしてLTS版のインストーラをダウンロードします。現時点のLTS最新バージョンは14.17.6でした。
参考 Node.jsNode.js![](https://hitoriit.blog/wp-content/uploads/2021/09/image-38.png)
インストーラの実行
ダウンロードしたインストーラをダブルクリックして実行すると以下画面が表示されますので「インストールする」を選択します。
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-39.png)
そのままNextを選択
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-40.png)
「I accept the terms in the license Agreement」にチェックを入れてNextを選択
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-41.png)
そのままNextを選択
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-42.png)
そのままNextを選択
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-43.png)
そのままNextを選択
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-44.png)
Installを選択
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-45.png)
Finishを選択
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-46.png)
確認
新しくコマンドプロンプトを開いて「node -v」と入力し、以下のような結果になればOKです。
![](https://hitoriit.blog/wp-content/uploads/2021/09/image-47.png)