Skip to content

Commit 24d7919

Browse files
committed
uninstall modus
1 parent bb65c43 commit 24d7919

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

modus/modus-cli.mdx

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,24 @@ URL to access the app.
6262
Build your Modus app. The Modus CLI compiles your app and generates a `.build`
6363
folder for the artifacts.
6464

65-
### `uninstall`
6665

67-
Uninstall the Modus CLI from your system.
66+
## Uninstall
67+
68+
To uninstall the Modus CLI, run the following command:
69+
70+
```sh
71+
npm uninstall -g @hypermode/modus-cli
72+
```
73+
74+
Then, find where the Modus CLI was installed using which modus and delete the directory:
75+
76+
```sh
77+
which modus
78+
/Users/someone/.nvm/versions/node/v22.13.0/bin/modus
79+
```
80+
81+
Delete the directory:
82+
83+
```sh
84+
rm -rf /Users/someone/.nvm/versions/node/v22.13.0/bin/modus
85+
```

0 commit comments

Comments
 (0)