malv uninstall
Remove installed apps from your local cache.
Usage
# Remove all versions of an app
malv uninstall @malv/gmail
# Remove a specific version
malv uninstall @malv/[email protected]
# Preview what would be removed
malv uninstall @malv/gmail --dry-run
Options
| Option | What It Does |
|---|---|
--dry-run |
Show what would be removed without deleting |
What It Does
- Removes the app from
malv_systems/ - Updates
malv.lockto remove the entry - Does not modify
malv.json
Output
$ malv uninstall @malv/gmail
Removing @malv/gmail...
✓ Removed @malv/[email protected] from malv_systems/
✓ Updated malv.lock
✓ Uninstalled @malv/gmail
Removing Specific Versions
If you have multiple versions cached, remove a specific one:
malv uninstall @malv/[email protected]
Without a version, all cached versions are removed.
Dry Run
Preview what would be deleted:
$ malv uninstall @malv/gmail --dry-run
Would remove:
malv_systems/@malv-gmail/ (1.2.3)
No changes made.
After Uninstalling
The app is removed from your local cache but remains in malv.json. Next time you run malv dev or malv install, it will be downloaded again.
To fully remove an app:
- Run
malv uninstall @malv/gmail - Remove the entry from
malv.json
Use Cases
Corrupted installation
If an app isn't working correctly, uninstall and reinstall:
malv uninstall @malv/gmail
malv install @malv/gmail
Freeing disk space
Remove apps you're no longer using:
malv uninstall @old/unused-app
Switching versions
Remove the current version before installing a different one:
malv uninstall @malv/gmail
# Edit malv.json to use different version
malv install
Related Commands
- malv install - Install apps from registry
- malv upgrade - Upgrade to latest versions