alias Command

The alias command in CS:GO lets you map a custom phrase entered into the console to a longer command or a sequence of commands.

Game
CS2 + CSGO
Scope
Global
Cheats
Not Required

Command Arguments

These are the parameters alias uses. Required arguments must be provided for the command to work.

<Alias>

StringRequired

The alias text you type into the console that triggers the alias commands; for instance, entering "example" here means typing example in the console will run the commands you specified.

<"Command">

StringRequired

The command or list of commands to execute when the alias is entered in the console. If you provide multiple commands, enclose the list in quotation marks (" ) and separate each command with a semicolon. For example, "buy ak47; buy p250;" will purchase an AK-47 and a P250.

Command Builder

Interactive command builder that generates a valid alias command for in-game use.

0 / 2 required arguments filled

Generated Command

alias <Alias> <"Command">

Command Information

Learn more about how to use alias effectively.

Argument Data Types

Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.

Required Arguments

Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.

Command Scope

Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.

Cheats Required

Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.