Uninstalling
To uninstall Lando simply find and remove the lando
binary. You can also clean up lingering configuration and containers
macOS/Linux
# repeat this command until you get "lando not found"
rm -f "$(which lando)"
Note that you may need to prefix the above command with sudo
if you installed lando
in a directory owned by root
.
Windows
# repeat this command until you get an error
Remove-Item -Force (Get-Command lando).Source
# repeat this command until you get "could not find files"
rm -f "$(where lando | head -n1)"
Further cleanup
Removing lingering Lando configuration
If you've uninstalled Lando but want to remove ALL TRACES OF IT you will also want to remove its configuration directory.
Unless you've edited Lando's global config Lando will store app configuration inside your home folder. You can use lando config | grep userConfRoot
to locate the precise location on your machine. By default these locations will be:
Operating System | Default Location |
---|---|
Win | C:\Users\ME\.lando |
Linux | ~/.lando |
macOS | ~/.lando |
To remove on Linux or macOS you can run rm -rf ~/.lando
. You can use explorer
to remove on Windows.
Removing lingering Lando containers
You can also run this docker
one-liner to force remove any Lando containers that, like the Cranberries may still be lingering
docker rm -f $(docker ps --filter label=io.lando.container=TRUE --all -q)