g_showHUD command

g_showHUD 0 or 1
Command effect
This command toggles the heads-up display.
Parameters
1 On
0 Off
Example
g_showHUD 1

How to enter a cheat code

Cheat codes are entered in the console. Open the console by pressing the § / ~ / ` key, which is usually located in the upper-left corner of the keyboard. Enter the cheat code and press the Enter key.

This cheat is only available after you add -devmode to the "SET LAUNCH OPTIONS..." section in the Steam properties of the game.