You will need to enable the console in order to enter commands. To do so, go to the folder The Witcher 3 Wild Hunt / bin / config / base / general.ini. Open the general.ini file with Notepad. Under [General], add DBGConsoleOn=true. Save and exit the file.
Now you can enter commands in the game. Open the console in the game by pressing the ~/~ button.