# alias unset

Unset one or more aliases that are currently set on your local computer.

## Description for alias unset

Aliases are global, so when you unset one it's no longer available in any Salesforce DX project.

## Aliases for alias unset

`force:alias:unset`

## Flags

| Flag Name (Long) | Flag Name (Short) | Description                                                                                 |
| ---------------- | ----------------- | ------------------------------------------------------------------------------------------- |
| `--all`          | `-a`              | **Type:** Boolean<br><br>Unset all currently set aliases.                                   |
| `--flags-dir`    | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                 |
| `--json`         | N/A               | **Type:** Boolean<br><br>Format output as json.                                             |
| `--no-prompt`    | `-p`              | **Type:** Boolean<br><br>Don't prompt the user for confirmation when unsetting all aliases. |

## Examples for alias unset

Unset an alias:

```shell
sf alias unset my-alias
```

Unset multiple aliases with a single command:

```shell
sf alias unset my-alias my-other-alias
```

Unset all aliases:

```shell
sf alias unset --all [--no-prompt]
```
