From 24d7919c68c3da0b55a81a4704aba78337f43319 Mon Sep 17 00:00:00 2001 From: danstarns Date: Mon, 7 Apr 2025 08:49:01 +0700 Subject: [PATCH] uninstall modus --- modus/modus-cli.mdx | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/modus/modus-cli.mdx b/modus/modus-cli.mdx index d2cc2402..00969ae5 100644 --- a/modus/modus-cli.mdx +++ b/modus/modus-cli.mdx @@ -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` -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 +``` + +Delete the directory: + +```sh +rm -rf /Users/someone/.nvm/versions/node/v22.13.0/bin/modus +``` \ No newline at end of file