Skip to content

Commit 644e093

Browse files
authored
Update installation of Node.js (#631)
1 parent c1f79d1 commit 644e093

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/3-web-servers/02-node-js/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ VS Code の**コマンド パレット**は、現在 VS Code 上で使用でき
3939

4040
Node.js をインストールする方法は様々ですが、現在は [nvm](https://github.com/nvm-sh/nvm) と呼ばれるツールが用いられることが多いようです。
4141

42-
まずは、[nvm のウェブサイトの `Install & Update Script` セクション](https://github.com/nvm-sh/nvm#install--update-script)に書かれているスクリプトを実行しましょう。2023 年 5 月現在では、次の通りです。
42+
まずは、[nvm のウェブサイトの `Install & Update Script` セクション](https://github.com/nvm-sh/nvm#install--update-script)に書かれているスクリプトを実行しましょう。2023 年 11 月現在では、次の通りです。
4343

4444
```shell
45-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
45+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
4646
```
4747

4848
続いて、ターミナルアプリケーションを再起動してから、nvm のインストールが成功していることを確認するため、次のコマンドを実行します。
@@ -55,7 +55,7 @@ nvm -v
5555

5656
```shell
5757
$ nvm -v
58-
0.39.3
58+
0.39.5
5959
```
6060

6161
さらに、次のコマンドを実行して、Node.js をインストールします。
@@ -74,7 +74,7 @@ node -v
7474

7575
```shell
7676
$ node -v
77-
v18.16.0
77+
v20.10.0
7878
```
7979

8080
<Tabs groupId="os">

0 commit comments

Comments
 (0)