Here's how to easily open the CS:GO console from in-game:

1
Launch CS:GO and click the cog icon to open Settings.
2
Click on the "Game" tab at the top.
3
Set the "Enable Developer Console" dropdown to "YES".
4
Close the Settings menu.
5
Hit the ~ key on your keyboard to bring up the CS:GO console.
Thankfully, CS:GO allows you to enable cheats to access settings that aren't usually allowed. However, enabling cheats can be complicated or confusing, so we created this guide about enabling cheats to support you through the process.