In this tutorial, we are going to learn about how to uninstall or remove the deno from your system.
When you install a deno in your system it is stored inside the
$HOME/.deno directory, so deleting that directory will remove your deno installation.
In your terminal, run the following command to remove the deno and its cached folders.
rm -rf $HOME/.deno
If you want to uninstall deno subcommands that are installed using the
deno install command.
you can do it by removing its installed
This above command is removing the
denon third party module.
or you can also remove the deno scripts like this.
rm $HOME /.deno/bin/welcome
This above command is removing the deno
welcome.ts script from your system that is installed using:
deno install https://deno.land/std/examples/welcome.ts