7

deno通过运行安装了一个脚本:

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

我现在如何卸载这个脚本?

deno 中是否有可以卸载已安装脚本的子命令?

4

2 回答 2

5

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.

于 2020-05-20T10:06:39.333 回答
3

手动删除它$DENO_DIR/bin(默认为$HOME/.deno/bin

例如在 Windows 上,我在 PowerShell 中运行以下命令:

PS > rm $HOME/.deno/bin/myscript.cmd
于 2020-06-08T09:36:34.100 回答