Natesh bhat
Natesh bhat

Reputation: 13222

how to uninstall or remove a deno script?

I have installed a deno script by running :

deno install https://deno.land/std/examples/welcome.ts

How do I uninstall this script now ?

Is there a subcommand in deno that can uninstall installed scripts ?

Upvotes: 7

Views: 1650

Answers (2)

Daanish Rumani
Daanish Rumani

Reputation: 31

Remove it manually from $DENO_DIR/bin (defaults to $HOME/.deno/bin)

E.g. on Windows, I ran the following in PowerShell:

PS > rm $HOME/.deno/bin/myscript.cmd

Upvotes: 3

Marcos Casagrande
Marcos Casagrande

Reputation: 40434

Unfortunately deno uninstall was removed

The current solution is to do:

rm $(which file_server)

But an issue regarding uninstall was reopened 6 days ago, so it may come back in the near future.

Upvotes: 5

Related Questions