---
slug: "pi-aliases"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/xRyul/pi-aliases@main/README.md"
repo: "https://github.com/xRyul/pi-aliases"
source_file: "README.md"
branch: "main"
---
# pi-aliases

A [pi](https://github.com/earendil-works/pi-mono) extension that adds familiar command aliases. They show in autocomplete with a hint indicating the built-in command they map to.

| Alias    | Runs   | Description                          |
|----------|--------|--------------------------------------|
| `/clear` | `/new` | Clear conversation, start new session |
| `/exit`  | `/quit`| Exit pi                              |

## Install

```bash
pi install npm:pi-aliases
```

Or from git:

```bash
pi install git:github.com/xRyul/pi-aliases
```

## Development

Clone and symlink into your extensions directory:

```bash
git clone https://github.com/xRyul/pi-aliases.git
ln -s "$(pwd)/pi-aliases" ~/.pi/agent/extensions/pi-aliases
```

Then use `/reload` in pi to pick up changes.

## License

MIT
