Create a free account to get access to additional free training videos. Enjoy this free video from CraftQuest! Create a free account to get access to additional free training videos. Join the Community
Local Development with Craft Nitro
If you decide that Nitro isn’t for you or you need to troubleshoot an issue by uninstalling Nitro, then this is how to do it.
If you decide that Nitro isn’t for you or you need to troubleshoot an issue by uninstalling Nitro, then this is how to do it. You should know that uninstalling Nitro and destroying the Docker images, will also delete any databases you have. Your files, however, will remain intact, as they’re part of your computer’s file system, not stored in a Docker container.
Before you nuke the Nitro app itself, first destroy the Docker containers. You can do this via Docker Desktop by clicking the trash can icon next to each Docker container created by Nitro. This will spin down the container and then destroy it.
Or, as a faster method, you can use nitro destroy
command, which will destroy all containers, networks, and volumes created and managed by Nitro. It will not destroy other containers, etc. that are in Docker Desktop.
Just don’t forget that when you destroy a database container, that you’re also destroying the database data, too!
After destroying the containers, you can If you installed Nitro via Homebrew then you’ll run:
brew uninstall nitro
If you installed Nitro via the bash command, then it’s a matter of removing the nitro
directory in your /usr/local/bin
directory:
sudo rm -R /usr/local/bin/nitro
Local Development with Craft Nitro is made up of the following videos: