* 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
create-medusa-app
Documentation | Website
An open source composable commerce engine built for developers.
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 |