doc: update synopsis

Signed-off-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
PR-URL: https://github.com/nodejs/node/pull/65171
Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Augustin Mauroy authored and Antoine du Hamel committed 2026-08-26 00:55:58 +02:00
1 parent 43f1dc03e7
commit d6059e84c0
1 file changed
+2 -9
+2 -9
View File
@@ -15,15 +15,8 @@ Please see the [Command-line options][] document for more information.
An example of a [web server][] written with Node.js which responds with
`'Hello, World!'`:
Commands in this document start with `$` or `>` to replicate how they would
appear in a user's terminal. Do not include the `$` and `>` characters. They are
there to show the start of each command.
Lines that don't start with `$` or `>` character show the output of the previous
command.
First, make sure to have downloaded and installed Node.js. See
[Installing Node.js via package manager][] for further install information.
[Installing Node.js][] for further install information.
Now, create an empty project folder called `projects`, then navigate into it.
@@ -90,5 +83,5 @@ If the browser displays the string `Hello, World!`, that indicates
the server is working.
[Command-line options]: cli.md#options
[Installing Node.js via package manager]: https://nodejs.org/en/download/package-manager/
[Installing Node.js]: https://nodejs.org/en/download
[web server]: http.md