Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions modus/modus-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,24 @@ URL to access the app.
Build your Modus app. The Modus CLI compiles your app and generates a `.build`
folder for the artifacts.

### `uninstall`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modus uninstall not found.


Uninstall the Modus CLI from your system.
## Uninstall

To uninstall the Modus CLI, run the following command:

```sh
npm uninstall -g @hypermode/modus-cli
```

Then, find where the Modus CLI was installed using which modus and delete the directory:

```sh
which modus
/Users/someone/.nvm/versions/node/v22.13.0/bin/modus
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't ever be the case. which modus would return modus not found if it was installed via NPM and then uninstalled via NPM.

Perhaps the instructions should say something like, "If modus is still found, then you can delete it..." etc. and just use /path/to/modus etc.

```

Delete the directory:

```sh
rm -rf /Users/someone/.nvm/versions/node/v22.13.0/bin/modus
```
Loading