|
1
|
import { Table } from "docs-ui" |
|
2
|
|
|
3
|
export const metadata = { |
|
4
|
title: `version Command - Medusa Cloud CLI Reference`, |
|
5
|
} |
|
6
|
|
|
7
|
# {metadata.title} |
|
8
|
|
|
9
|
Print the installed version of the Cloud CLI along with the Node.js and platform metadata. |
|
10
|
|
|
11
|
```bash |
|
12
|
mcloud version |
|
13
|
``` |
|
14
|
|
|
15
|
Use this command to confirm which version is installed before reporting bugs or comparing behavior across machines. |
|
16
|
|
|
17
|
Alternatively, you can also use the `--version` flag, if you don't need to pass any other flags: |
|
18
|
|
|
19
|
```bash |
|
20
|
mcloud --version |
|
21
|
``` |
|
22
|
|
|
23
|
## Options |
|
24
|
|
|
25
|
<Table> |
|
26
|
<Table.Header> |
|
27
|
<Table.Row> |
|
28
|
<Table.HeaderCell> |
|
29
|
Option |
|
30
|
</Table.HeaderCell> |
|
31
|
<Table.HeaderCell> |
|
32
|
Description |
|
33
|
</Table.HeaderCell> |
|
34
|
<Table.HeaderCell> |
|
35
|
Default |
|
36
|
</Table.HeaderCell> |
|
37
|
</Table.Row> |
|
38
|
</Table.Header> |
|
39
|
<Table.Body> |
|
40
|
<Table.Row> |
|
41
|
<Table.Cell> |
|
42
|
|
|
43
|
`--json` |
|
44
|
|
|
45
|
</Table.Cell> |
|
46
|
<Table.Cell> |
|
47
|
|
|
48
|
Print the result as JSON instead of formatted text. |
|
49
|
|
|
50
|
</Table.Cell> |
|
51
|
<Table.Cell> |
|
52
|
|
|
53
|
`false` |
|
54
|
|
|
55
|
</Table.Cell> |
|
56
|
</Table.Row> |
|
57
|
</Table.Body> |
|
58
|
</Table> |