<!-- @generated by usage-cli from usage spec -->
# `mise shell-alias set`

- **Usage:** `mise shell-alias set <shell_alias> [COMMAND]`
- **Aliases:** `add`, `create`
- **Effect:** modifies state
- **Source code:** [`src/cli/shell_alias/set.rs`](https://github.com/jdx/mise/blob/main/src/cli/shell_alias/set.rs)

Add/update a shell alias

This modifies the contents of ~/.config/mise/config.toml

## Arguments
- **`<shell_alias>`** — The alias name
- **`[COMMAND]`** — The command to run (optional if provided as ALIAS=COMMAND)

## Flags
- **`-h --help`** — Print help

Examples:

```
mise shell-alias set ll "ls -la"
mise shell-alias set gs "git status"
```
