alias⭐ Essential CommandsMultiplayer Safe
Command Details
DescriptionCreates a shortcut name for a sequence of commands
Category⭐ Essential Commands
sv_cheatsNot required
Syntax
alias <value>How to Use
1
Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console. See our Config Guide for full setup instructions.
2
Type alias into the console and press Enter.
3
Creates a shortcut name for a sequence of commands. This command works in all game modes including competitive.
Frequently Asked Questions
What does alias do in CS2?
Creates a shortcut name for a sequence of commands
Does alias require sv_cheats?
No, alias does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use alias in competitive?
Yes, alias works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.