From f91e3d71fa9242568aac8aa823339f2fd97e315c Mon Sep 17 00:00:00 2001 From: Aryan Dev Tyagi Date: Tue, 5 May 2026 18:06:54 +0530 Subject: [PATCH 1/2] docs: add verification step for Express installation --- en/starter/installing.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/en/starter/installing.md b/en/starter/installing.md index e115db5cc4..bf0189b793 100755 --- a/en/starter/installing.md +++ b/en/starter/installing.md @@ -49,4 +49,19 @@ $ npm install express --no-save
By default with version npm 5.0+, `npm install` adds the module to the `dependencies` list in the `package.json` file; with earlier versions of npm, you must specify the `--save` option explicitly. Then, afterwards, running `npm install` in the app directory will automatically install modules in the dependencies list. -
\ No newline at end of file + + + +## Verify your installation + +After installing Express, verify it is available: + +```bash +npx express-generator@latest --version +``` +If the command is not found, install it globally: + +``` +npm install -g express-generator +``` + From a87348fc0a16afed6b0ab15aeda3bdb225fb827f Mon Sep 17 00:00:00 2001 From: Aryan Dev Tyagi Date: Tue, 5 May 2026 18:29:22 +0530 Subject: [PATCH 2/2] docs: fix verification step to use npm ls --- en/starter/installing.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/en/starter/installing.md b/en/starter/installing.md index bf0189b793..82a1b67da1 100755 --- a/en/starter/installing.md +++ b/en/starter/installing.md @@ -54,14 +54,11 @@ By default with version npm 5.0+, `npm install` adds the module to the `dependen ## Verify your installation -After installing Express, verify it is available: +After installing, confirm Express is available in your project: ```bash -npx express-generator@latest --version -``` -If the command is not found, install it globally: - -``` -npm install -g express-generator +npm ls express ``` +You should see `express@x.x.x` in the output. If the package +is missing, re-run the install command above.