Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

fix(docs): add missing prerequisites and fix package manager references (#878)

Jakub Sieradzki47433e9feb4b
diff --git a/apps/docs/v2/getting-started/installation.mdx b/apps/docs/v2/getting-started/installation.mdx
index a7db51d87..234aa53af 100644
--- a/apps/docs/v2/getting-started/installation.mdx
+++ b/apps/docs/v2/getting-started/installation.mdx
@@ -6,6 +6,7 @@ description: "Install Mercur and set up your marketplace project."
## Requirements
- [Node.js v20+](https://nodejs.org/en/download) (LTS version)
+- [Bun v1.3+](https://bun.sh) (recommended package manager)
- [Git](https://git-scm.com/downloads)
- PostgreSQL v14+
diff --git a/templates/basic/README.md b/templates/basic/README.md
index 5ad7495c5..34c169d8f 100644
--- a/templates/basic/README.md
+++ b/templates/basic/README.md
@@ -33,8 +33,8 @@ COOKIE_SECRET=your-super-secret-cookie-key
4. Install dependencies and start the dev server:
```bash
-npm install
-npm run dev
+bun install
+bun dev
```
5. Open `http://localhost:9000` to access the Medusa backend
@@ -108,7 +108,7 @@ Links define relationships between modules. See the [Links](https://docs.medusaj
You can extend your project with pre-built blocks using the Mercur CLI:
```bash
-npx @mercurjs/cli add block-name
+bunx @mercurjs/cli add block-name
```
Configure your block sources in `blocks.json`:
@@ -130,7 +130,7 @@ Configure your block sources in `blocks.json`:
To build all apps and packages:
```bash
-npm run build
+bun run build
```
## Questions
diff --git a/templates/basic/package.json b/templates/basic/package.json
index e1a5f7f3e..72bef00de 100644
--- a/templates/basic/package.json
+++ b/templates/basic/package.json
@@ -44,7 +44,7 @@
"typescript": "5.9.3"
},
"engines": {
- "node": ">=18"
+ "node": ">=20"
},
"packageManager": "[email protected]",
"workspaces": [