From 2a4ab2dc85481fb6eeb7fa2d7ec44745273a7e01 Mon Sep 17 00:00:00 2001 From: Rei Tsukada Date: Sat, 14 Mar 2026 20:56:31 +0900 Subject: [PATCH 1/3] explain command prompt --- docs/3-web-servers/03-node-js/index.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/3-web-servers/03-node-js/index.mdx b/docs/3-web-servers/03-node-js/index.mdx index 69b2c7f0..ed9b8ed9 100644 --- a/docs/3-web-servers/03-node-js/index.mdx +++ b/docs/3-web-servers/03-node-js/index.mdx @@ -36,6 +36,12 @@ nvm -v 次のように表示されたら成功です。 +:::tip[コマンドプロンプト] + +コマンドプロンプトとは、ターミナルがコマンドの入力を受け付けている状態を示す記号で、一般的に`$`が使われます。この教材では、コマンドとその実行結果を区別するために入力するコマンドの行頭にこの`$`を付けて表記することがあります。`$`自体を入力する必要はありません。 + +::: + ```shell $ nvm -v 0.40.3 From 681df7fe02a70c4b675b390fb3dee60878d630ed Mon Sep 17 00:00:00 2001 From: Rei Tsukada Date: Sat, 21 Mar 2026 14:32:57 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?UTF-8?q?=E3=83=97=E3=83=AD=E3=83=B3=E3=83=97=E3=83=88=E3=81=AE=E8=AA=AC?= =?UTF-8?q?=E6=98=8E=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3-web-servers/03-node-js/index.mdx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/3-web-servers/03-node-js/index.mdx b/docs/3-web-servers/03-node-js/index.mdx index ed9b8ed9..69b2c7f0 100644 --- a/docs/3-web-servers/03-node-js/index.mdx +++ b/docs/3-web-servers/03-node-js/index.mdx @@ -36,12 +36,6 @@ nvm -v 次のように表示されたら成功です。 -:::tip[コマンドプロンプト] - -コマンドプロンプトとは、ターミナルがコマンドの入力を受け付けている状態を示す記号で、一般的に`$`が使われます。この教材では、コマンドとその実行結果を区別するために入力するコマンドの行頭にこの`$`を付けて表記することがあります。`$`自体を入力する必要はありません。 - -::: - ```shell $ nvm -v 0.40.3 From b9ea9065101a08b7ba7362254848f94d3346ce6d Mon Sep 17 00:00:00 2001 From: Rei Tsukada Date: Sat, 21 Mar 2026 14:33:13 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=E5=87=BA=E5=8A=9B=E3=82=92=E5=88=86?= =?UTF-8?q?=E9=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/3-web-servers/10-git-github-init/index.mdx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/3-web-servers/10-git-github-init/index.mdx b/docs/3-web-servers/10-git-github-init/index.mdx index 0962c2a2..4e579128 100644 --- a/docs/3-web-servers/10-git-github-init/index.mdx +++ b/docs/3-web-servers/10-git-github-init/index.mdx @@ -110,12 +110,18 @@ GitHubに公開鍵を登録しましょう。 公開鍵と秘密鍵のペアを生成するには、`ssh-keygen`コマンドを使用します。次のコマンドを実行することで、`Ed25519`というアルゴリズムの実装を用いて鍵を生成できます。途中でターミナルの表示画面が止まりますが、`user@host:~$`が再度表示されるまでEnterキーで進みます。 ```shell -$ cd ~ -$ ssh-keygen -t ed25519 +cd ~ +ssh-keygen -t ed25519 ``` デフォルトでは公開鍵が`~/.ssh/id_ed25519.pub`、秘密鍵が`~/.ssh/id_ed25519`に格納されます。公開鍵のファイルを`cat`コマンドを用いて出力しましょう。 +```shell +cat ~/.ssh/id_ed25519.pub +``` + +次のように表示されたら成功です。 + ```shell $ cat ~/.ssh/id_ed25519.pub ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEqE0cyVkFSFD/BlAwvJ9QejXwgyFppn5JDQc8iGW/Gp [ユーザー名]@[コンピューター名]