Files
medusa-store/packages/cli/create-medusa-app
Shahed Nasser 5f90cd0650 feat(create-medusa-app): add support for pnpm and specifying package manager (#14443)
* feat(create-medusa-app): add support for pnpm and specifying package manager

* fixes

* add medusa command method

* add tests for package manager

* fix duplicate messages

* throw if chosen package manager is not available

* better package manager and version detector

* add debug message

* fix version detection

* fix for yarn v3

* fix migration command

* yarn v3 fix

* remove .yarn directory for non-yarn package managers

* run npm ci to validate npm installation

* fixes

* fixes

* remove corepack line

* remove if condition
2026-01-12 12:55:26 +02:00
..
2026-01-09 12:52:13 +01:00

Medusa

create-medusa-app

Documentation | Website

An open source composable commerce engine built for developers.

Medusa is released under the MIT license. Current CircleCI build status. PRs welcome! Product Hunt Discord Chat Follow @medusajs

Overview

Using this NPX command, you can setup a Medusa backend and admin along with a PostgreSQL database in simple steps.


Usage

Run the following command in your terminal:

npx create-medusa-app@latest

Then, answer the prompted questions to setup your PostgreSQL database and Medusa project. Once the setup is done, the Medusa admin dashboard will open in your default browser.

Options

Option Description Default value
--repo-url <url> Create Medusa project from a different repository URL https://github.com/medusajs/medusa-starter-default
--seed Using this option seeds the database with demo data false