XCOM 2: War of the Chosen – Console Commands
/To activate the console, you must first add the following as a command-line parameter to XCOM 2: -allowconsole Rightclick the XCOM 2 shortcut, select properties and add it at the end of the “Target”-field so that it looks something like this: “C:\Games\XCOM 2\Binaries\Win64\XCom2.exe” –allowconsole If using Steam, right click the game in your Library, select Properties and add it under “Set launch options”. Open the console in-game using the ~ tilde button (the usual button for console). Note: For the following commands, replace # with a number.
Command      Effect
enablecheats – Enables the use of commands
SetStratagyFacilitiesSuperSpree – Ability to build all facilities instantly for free, toggle with on/off
SetStrategyFacilitiesUnlockAll – Ability to build all facilities, toggle with on/off
SetStratagyFacilitiesInstantBuild – Ability to build facilities instantly, toggle with on/off
SetStratagyFacilitiesFree – All facilities free, toggle with on/off
TakeNoDamage – All units invincible
PowerUp – All units invincible with unlimited ammo
giveresource CorpseAdventMEC # – Gives # amount of Advent MEC corpses
giveresource CorpseAdventOfficer # – Gives # amount of Advent Officer corpses
giveresource CorpseAdventShieldbearer # – Gives # amount of Advent Shieldbearer corpses
giveresource CorpseAdventStunLancer # – Gives # amount of Advent Stun Lancer corpses
giveresource CorpseAdventTrooper # – Gives # amount of Advent Trooper corpses
giveresource AlienAlloy # – Gives # amount of Alien Alloys
giveresource CorpseArchon # – Gives # amount of Archon corpses
giveresource CorpseBerserker # – Gives # amount of Berserker corpses
additem heavyplatedarmor # – Gives # amount of E.X.O. Suits
giveresource EleriumCore # – Gives # amount of Elerium Cores
giveresource EleriumDust # – Gives # amount of Elerium Crystals
giveresource CorpseFaceless # – Gives # amount of Faceless corpses
giveresource Intel # – Gives # amount of Intel
giveresource CorpseMuton # – Gives # amount of Muton corpses
additem EpicPCSAgility # – Gives # amount of PCS: Superior Agility
additem EpicPCSConditioning # – Gives # amount of PCS: Superior Conditioning
additem EpicPCSFocus # – Gives # amount of PCS: Superior Focus
additem EpicPCSPerception # – Gives # amount of PCS: Superior Perception
additem EpicPCSSpeed # – Gives # amount of PCS: Superior Speed
giveresource CorpseSectoid # – Gives # amount of Sectoid corpses
additem lightplatedarmor # – Gives # amount of Spider Suits
additem ReloadUpgrade_Sup # – Gives # amount of Superior Auto-Loaders
additem ClipSizeUpgrade_Sup # – Gives # amount of Superior Expanded Magazines
additem FreeFireUpgrade_Sup # – Gives # amount of Superior Hair Triggers
additem CritUpgrade_Sup # – Gives # amount of Superior Laser Sights
additem FreeKillUpgrade_Sup # – Gives # amount of Superior Repeaters
additem AimUpgrade_Sup # – Gives # amount of Superior Scopes
additem MissDamageUpgrade_Sup # – Gives # amount of Superior Stocks
giveresource supplies # – Gives # amount of Supplies
giveresource CorpseViper # – Gives # amount of Viper corpses
additem heavypoweredarmor # – Gives # amount of W.A.R. Suits
additem lightpoweredarmor # – Gives # amount of Wraith Suits
givescientist # – Gives a Scientist with skill level #
giveengineer # – Gives an Engineer with skill level #
GiveTech [techname] – Gives the specified tech, replace [techname] with the tech you want