# Alias

Use aliases to create custom shortcuts for any longer commands or a command chains/blocks. They work universally, i.e. they only store and output the content as text. The syntax works similar to the [hotkey system:](/documentation/terminal-cli/shortcut-hotkeys.md) \
\
`alias chadswarm "repeat 5 (swarm buy 100000$ into 5; sleep 5)"`&#x20;

Now you only need to type in the CLI: `chadswarm`&#x20;

More examples:

`alias tpsell "chase sell 100% reduce"`

`alias buybtc "scale buy @mysize btcusdt into 10 from -1% to -2%"`

You will find an overview of your existing aliases via the Hotkey quickmenu in the header bar.

| Example                        | Description                                     |
| ------------------------------ | ----------------------------------------------- |
| **`alias list`**               | Show all of your aliases                        |
| **`alias <name> "<command>"`** | Bind the command (in quotes) to the given name. |
| **`unalias <name>`**           | Undo the alias                                  |
| **`unalias all`**              | Removes every alias                             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.insilicoterminal.com/documentation/terminal-cli/alias.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
