Open the game now and start a New Game or load up a saved game. Now Half-Life Alyx is set up to add in the cheat codes. Enter the following into the text bar: -console -vconsole.Select Set Launch Options from the new window.
To enable the developer console, players will need to follow these steps before launching the game. The process of using cheats inside Half-Life Alyx is fairly simple but does require the player to mess with the commands a bit outside of the game.