Similar to the first-person-shooter game Counter-Strike, you will need to press tilde (`) to open the console box which will be located below the Esc key on your keyboard. You will need to open the console box or the developer console for the game. Fallout 4 codes and console commands are listed for PC.