# Command:aliases

> #### [Command](https://sam.goobie.me/api/command/command) [Command](https://sam.goobie.me/api/command/command):aliases( [vararg](https://wiki.facepunch.com/gmod/vararg)\[[**string**](https://wiki.facepunch.com/gmod/string)] vararg )

## Description

Adds aliases for current command and returns self.

## Aguments

1. #### [vararg](https://wiki.facepunch.com/gmod/vararg)\[[**string**](https://wiki.facepunch.com/gmod/string)] vararg

## Returns

1. #### [Command](https://sam.goobie.me/api/command/command)

## Example

```lua
local kick_command = sam.Command.get("kick")
kick_command:aliases("out") -- returns kick_command
```
