From 1c93b66b940ca89bb62a34fb1eb5e77fde0704aa Mon Sep 17 00:00:00 2001 From: Sandesh-projects Date: Wed, 8 Oct 2025 09:48:20 +0530 Subject: [PATCH] docs: add installation guide for yarn, pnpm, and bun --- Readme.md | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/Readme.md b/Readme.md index d62b9821250..29b38079fd7 100644 --- a/Readme.md +++ b/Readme.md @@ -63,6 +63,80 @@ Installation is done using the npm install express ``` +### Alternative Package Managers + +You can also install Express using other popular Node.js package managers: + +#### Using Yarn + +```bash +yarn add express +``` + +#### Using pnpm + +```bash +pnpm add express +``` + +#### Using Bun + +```bash +bun add express +``` + +All these commands will add Express as a dependency in your project’s `package.json`. + +--- + +### Verifying the Installation + +After installation, you can verify that Express is correctly installed by running: + +```bash +npm list express +``` + +or, if using Yarn: + +```bash +yarn list express +``` + +If Express appears in the list, it has been successfully installed. + +You can also quickly test it with a simple app: + +```bash +node -e "require('express')" +``` + +If no errors appear, Express is ready to use! + +--- + +### Updating Express + +To ensure you have the latest stable version, periodically update Express: + +```bash +npm update express +``` + +Or, for Yarn: + +```bash +yarn upgrade express +``` + +For pnpm: + +```bash +pnpm update express +``` + +--- + Follow [our installing guide](https://expressjs.com/en/starter/installing.html) for more information.