Counter-Strike 2 practice config generator

Pick the commands and binds you want below, preview the live output, and download a custom practice.cfg built for Counter-Strike 2 offline training. All defaults match our tested SpawnTerror practice config (or you can grab the static preset directly: practice.cfg).
Generated practice.cfg
Why use a practice config
While your autoexec.cfg handles everyday settings like sensitivity, binds, and radar preferences, a practice config sets up an offline server specifically for training. Instead of typing twenty console commands every time you want to test smokes or check angles, one exec practice.cfg gives you:
- Bot placement for peeking and shadows: Spawn static bots wherever you want to practise pre-aiming, peeking angles, and checking how player shadows fall near light sources.
- No economy limits: Start on either team with a main rifle, a Desert Eagle, full utility, and maximum cash with buy-anywhere enabled.
- Health regeneration and buddha mode: Stay alive through grenade testing and bot drills without restarting rounds.
- Noclip flight: Press your chosen noclip key (
Mouse3by default) to fly across the map and inspect sightlines or smoke gaps. - Grenade re-throw and preview: Press your re-throw bind (
Mouse5by default) to repeat your last grenade and see the live trajectory preview while lining up throws. - Screenshot mode: Press
Oto hide all HUD elements, viewmodels, crosshair, and telemetry for clean screenshots, then pressPto bring everything back.
Config files are plain text documents containing standard CS2 commands and pose no risk to your PC.
Where to save your practice config
Open your Steam library, right-click Counter-Strike 2, and go to Properties > Installed Files > Browse.

Inside the game directory, navigate to game\csgo\cfg. On a standard Windows installation, the full path looks like this:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg

Drop your downloaded practice.cfg straight into that folder. If you prefer creating the file manually instead of downloading it, right-click an empty space inside cfg, select New > Text Document, rename it to practice.cfg, click Yes on the extension warning prompt, and paste the generated commands inside.



Running the practice config in-game
Once practice.cfg is inside your cfg folder, load it inside an offline match:
- Launch Counter-Strike 2.
- Go to Play > Practice > Casual and choose your map.
- Click Go to load into the server.
- Open the developer console and run
exec practice.cfg.

sv_cheats 1 is required for offline commands like noclip, buddha, and grenade trajectory previews, but Valve automatically disables it whenever you join an official online server. You do not need to revert anything before queueing a match.
Need an everyday competitive config as well? Build one with our Autoexec Config Generator.