Overview
Learn how to use console commands in Source games
How To Use The Developer Console
First enter your steam library then right click on the Half-Life 2 image then click on properties. after that click on Launch options then enter this: -console.Then click ok and close properties. After that launch Half-Life 2 and press the ` button. If unsure its the key below Escape.