Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e262af2
commit 1238de7
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# deno uninstall | ||
|
||
Uninstalls an executable script in the installation root's bin directory. | ||
|
||
## Command | ||
|
||
`deno uninstall [OPTIONS] <NAME>` - Uninstalls `name`. | ||
|
||
## Synopsis | ||
|
||
```bash | ||
deno uninstall [--root <root>] [-g|--global] [-q|--quiet] <NAME> | ||
|
||
deno uninstall -h|--help | ||
``` | ||
|
||
## Description | ||
|
||
When uninstalling, the installation root is determined in the following order: | ||
|
||
- --root option | ||
- DENO_INSTALL_ROOT environment variable | ||
- $HOME/.deno | ||
|
||
## Arguments | ||
|
||
`NAME` | ||
|
||
The name of the script to uninstall. | ||
|
||
## Options | ||
|
||
- `--root <root>` | ||
Installation root | ||
|
||
- `-g, --global` | ||
Remove globally installed package or module | ||
|
||
- `-q, --quiet` | ||
Suppress diagnostic output | ||
|
||
- `-h, --help` | ||
|
||
Prints help information | ||
|
||
## Examples | ||
|
||
- Uninstall `serve` | ||
|
||
```bash | ||
deno uninstall serve | ||
``` | ||
|
||
- Uninstall `serve` from a specific installation root | ||
|
||
```bash | ||
deno uninstall --root /usr/local serve | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters