Console commands are only available on the PC version and allow you to do almost anything you want in Fallout 4 (FO4). Here you can find out about all the console commands and the best cheats in terms of usefulness!
Toggle God Mode
Toggles God Mode on/off, basically making you invulnerable, have unlimited ammo, and unlimited materials when building.Toggle Collision
Toggles collision on/off letting you pass through everything when it's off.Free Camera Mode
Toggles Free Camera Mode which lets the camera leave the character and fly around.Free Camera (Freeze)
Free Camera Mode but with everything frozen/locked animation.Toggle UI
Toggles the UI on/off.Reset Screen Effects
Resets blood splatter/explosion marks/etc from surroundings.Change Field of View
Change the camera field-of-view for both first-person and third-person mode. Set it to 0 for default settings.Speed Up/Slow Down Time
Sets how fast or slow time passes in proportion to realtime. Default setting is 16 while 1 is realtime.Teleport to Cell
Teleports player to the center of a specified cell (location).Customize Appearance
Opens the character customization menu to change your appearance. Be sure to look at your character in third-person mode.Change Race
Changes the player's race.Reset Health
Resets player health back to full, does not remove radiation damage.Set Jump Height
Sets jump height to a designated value, allowing you to jump higher/lower. Turn on God Mode to avoid dying from fall damage.Undetectable Mode
Toggles AI detection on/off.Get Character Variable
Returns the value of a character variable such as stats, experience, health, etc.Modify Character Variable
Modifies (add/subtract) character variable such as stats, experience, health, etc.Set Character Variable
Sets character variable such as stats, experience, health, etc.Set Character Level
Sets your character's level to the specified value.Add Item to Inventory
Adds the item with the specified ID into the player's inventory with the specified amount.Add Bottlecaps
Adds bottlecaps into the player's inventory with the specified amount.Add Bobby Pins
Adds bobby pins into the player's inventory with the specified amount.Toggle NPC AI
Toggles NPC AI on/off.Toggle AI Combat
Toggles NPC AI Combat on/off.Kill All
Kills everything in the vicinity.Kill Target
Kills the target.Resurrect Target
Resurrects the target.Reset Target
Resets the target NPC back to when they first spawned.Set Size
Changes the size of the target.Change Target Gender
Changes the target's gender, works on yourself.Check Companion Affinity
Allows you to check current companion's affinity.Set Companion Affinity
Set your current companion's affinity to a specified value.Modify Companion Affinity
Modifies (add/subtract) your current companion's affinity by a specified value.Unequip Target's Items
Unequip all items from the target.Add To Faction
Adds the player to a faction as either a friend (0) or an ally (1).Remove From Faction
Removes the player from a faction.Remove From All Factions
Removes target from all factions.Set Two Factions as Friendly/Allied
Sets the relationship between two factions as either friendly (0) or allied (1).Set Two Factions as Neutral/Enemies
Sets the relationship between two factions as either neutral (0) or enemies (1).Complete All Quest Objectives
Completes all quest objectives.Reset Quest
Resets the quest objectivesComplete Quest
Completes the quest.Complete Main Story Quest
Completes the main story quests, effectively finishing the game.Unlock Door
Unlocks selected door.Hide Target
Hides the targeted object, item, or NPC.Toggle Map Markers
Toggles map markers on/off letting you see and use all markers and fast travel points when turned on.The console window can be opened by pressing the tilde button (~) usually found below the ESC button on the keyboard. This pauses the game and lets you type console commands.
After entering the command, close the console by pressing the tilde (~) button again.