Deno Clean

Is there documentation or a utility to completely remove Deno from a system?
If not, what directories must be purged?
4 Replies
Deno AI Helper
Deno AI Helper•9mo ago
Yes, there is a way to remove Deno from your system. According to the documentation, you can uninstall scripts installed via Deno using the deno uninstall command. However, this command is for uninstalling individual scripts, not the Deno runtime itself. To completely remove Deno from your system, you would need to delete the Deno binary and also remove the directories where Deno stores its data. Here are the general steps you might follow: 1. Delete the Deno binary executable from wherever it is located on your system. This location varies depending on how you installed Deno. If you used a package manager, you should use the same package manager to uninstall Deno. 2. Remove the Deno cache and configuration directories. These are typically found at the following locations: - On Linux/Unix: $HOME/.deno - On Windows: %USERPROFILE%\.deno 3. If you added Deno's bin directory to your system's PATH, you should also remove that entry from your PATH environment variable. Please note that these steps might vary slightly depending on your operating system and how Deno was installed. If you installed Deno using a package manager like Homebrew or Scoop, you should use the package manager's uninstall command to remove Deno. 🦕
Fifth-Normal-Form always
Fifth-Normal-Form alwaysOP•9mo ago
Thanks! How would I remove Deno.Kv files? What locations should I check? @Deno AI Helper Does Deno add to, or modify the Windows Registry?
Deno AI Helper
Deno AI Helper•9mo ago
No, Deno does not add or modify the Windows Registry as part of its installation or runtime processes. Deno is designed to be a simple, single executable with minimal setup. When you install Deno on Windows, you typically download a single executable file and place it somewhere on your system. You might add the directory containing the Deno executable to your system's PATH environment variable to run Deno from any command prompt, but this does not involve modifying the Windows Registry. If you're uninstalling Deno and concerned about leaving traces behind, you generally only need to delete the Deno executable and clear out the cache and configuration directories, as mentioned in the previous message. There should be no need to worry about the Windows Registry with respect to Deno.
Deno AI Helper
Deno AI Helper•9mo ago
🦕💚 I'm glad I was able to help!