|
1
|
--- |
|
2
|
generate_toc: true |
|
3
|
--- |
|
4
|
|
|
5
|
import { Table, Prerequisites, ChildDocs } from "docs-ui" |
|
6
|
|
|
7
|
export const metadata = { |
|
8
|
title: `Medusa CLI Reference`, |
|
9
|
} |
|
10
|
|
|
11
|
# {metadata.title} |
|
12
|
|
|
13
|
The Medusa CLI tool provides commands that facilitate your development. |
|
14
|
|
|
15
|
<Prerequisites items={[ |
|
16
|
{ |
|
17
|
text: "Node.js v20.19.0+ or v22.12.0+", |
|
18
|
link: "https://nodejs.org/en/download" |
|
19
|
}, |
|
20
|
{ |
|
21
|
text: "Git CLI tool", |
|
22
|
link: "https://git-scm.com/downloads" |
|
23
|
}, |
|
24
|
{ |
|
25
|
text: "PostgreSQL", |
|
26
|
link: "https://www.postgresql.org/download/" |
|
27
|
} |
|
28
|
]} /> |
|
29
|
|
|
30
|
## Usage |
|
31
|
|
|
32
|
In your Medusa application's directory, you can use the Medusa CLI tool using NPX. |
|
33
|
|
|
34
|
For example: |
|
35
|
|
|
36
|
```bash npx2yarn |
|
37
|
npx medusa --help |
|
38
|
``` |
|
39
|
|
|
40
|
--- |
|
41
|
|
|
42
|
<ChildDocs hideItems={["Overview"]} /> |