If you don't know how to enable the console, or need help using it, click the below button: You can then open it from the game by pressing the ~, ', or \ key on your keyboard (the key that will work depends on your keyboard layout). The console in XCOM 2 can be enabled by adding -allowconsole to your game's launch options. Commands from all official DLCs (such as War of the Chosen) are also included.
These XCOM 2 cheat codes work with the console for all PC / Mac versions of the game including the Steam and non-Steam versions. Below is a list of all XCOM 2 console commands from the latest version of the game.