CS2 Practice Commands: Every Console Command You Need for Training
Complete list of CS2 practice commands for grenades, movement, bots, and more. Includes a ready-to-copy practice config for your autoexec.
Why You Need Practice Commands
CS2 does not have a built-in practice mode with all the tools you need. To properly train your aim, learn grenade lineups, or test strategies, you need to set up a private server and enter specific console commands to unlock practice features.
These commands let you do things like enable infinite ammo, show grenade trajectories, fly around the map, spawn bots where you want them, and extend round timers. Without them, practicing lineups becomes an exercise in frustration - constantly running out of grenades, waiting for rounds to restart, and guessing where your smoke actually landed.
This guide organizes every useful practice command by category, explains what each one does, and includes a ready-to-copy config you can paste into your autoexec.cfg. If you want a focused walkthrough on setting up smoke practice specifically, check out our dedicated How to Practice Smokes in CS2 guide.
How to Open the Console
Before you can enter any commands, you need to enable and open the developer console:
- Go to Settings > Game
- Set Enable Developer Console to Yes
- Press the tilde key (~) to open the console in-game
All commands below are typed directly into the console. You can also save them in a config file (covered at the end of this guide) so you do not have to type them every time.
Essential Setup Commands
These are the commands you should run first when loading into a private server for practice. They form the foundation that everything else builds on.
sv_cheats 1
mp_warmup_end
mp_freezetime 0
mp_roundtime_defuse 60
mp_roundtime 60
mp_buy_anywhere 1
mp_buytime 9999
mp_maxmoney 65535
mp_startmoney 65535
What Each Command Does
- sv_cheats 1 - Enables cheat commands. This is required before most practice commands will work. It only works on private/local servers, not matchmaking.
- mp_warmup_end - Immediately ends the warmup phase so you can start practicing right away.
- mp_freezetime 0 - Removes the freeze time at the start of each round. No more waiting.
- mp_roundtime_defuse 60 - Sets the round time to 60 minutes for defuse maps. This gives you plenty of time to practice without the round ending.
- mp_roundtime 60 - Same as above but for non-defuse game modes.
- mp_buy_anywhere 1 - Lets you open the buy menu anywhere on the map, not just in spawn.
- mp_buytime 9999 - Extends the buy time to essentially unlimited, so you can rebuy grenades at any point.
- mp_maxmoney 65535 - Sets your maximum money to the highest value.
- mp_startmoney 65535 - Start each round with maximum money so you can buy anything.
Grenade Practice Commands
These are the most important commands if you are learning smoke lineups, flashbang spots, or molotov placements. Being able to see exactly where your grenade goes and having unlimited throws is essential.
sv_infinite_ammo 1
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10
sv_grenade_trajectory_thickness 1
cl_grenadepreview 1
sv_showimpacts 1
Detailed Breakdown
- sv_infinite_ammo 1 - Gives you unlimited ammunition and grenades. Set to
2if you want infinite ammo but still need to reload (useful for spray practice). Set to1for full infinite with no reloading - this is what you want for grenade practice. - sv_grenade_trajectory 1 - Draws a visible line showing the flight path of every grenade you throw. This is the single most useful practice command. You can see exactly where your smoke travels and adjust your aim accordingly.
- sv_grenade_trajectory_time 10 - Controls how long (in seconds) the trajectory line stays visible. Default is 1 second, which is too short to be useful. Set it to 10 or higher so you can throw a grenade, walk to where it landed, and still see the full path.
- sv_grenade_trajectory_thickness 1 - Adjusts the thickness of the trajectory line. Default is fine for most people, but increase it if you find the line hard to see.
- cl_grenadepreview 1 - Shows a preview arc of where your grenade will go before you throw it. This is incredibly helpful for learning new lineups because you can see if your aim is correct before committing to the throw.
- sv_showimpacts 1 - Displays impact markers where grenades (and bullets) hit surfaces. Combined with trajectories, this gives you complete visual feedback.
Once you have these commands set, load up any map and start working through lineups. Our Mirage smoke lineups and Dust2 smoke lineups pages have step-by-step instructions you can follow in your practice server.
Movement and Navigation Commands
When you are learning lineups or exploring the map, you often need to fly around to check smoke landing positions or quickly get back to a throw spot.
noclip
bind "v" "noclip"
- noclip - Toggles fly mode. You can fly through walls, floors, and ceilings. Press it once to start flying, press it again to return to normal movement. This is essential for quickly checking where your smoke landed without running all the way around the map.
- bind “v” “noclip” - Binds noclip to a key (in this example, V) so you can toggle it instantly without opening the console. Replace
vwith whatever key you prefer.
Teleport Commands
getpos
setpos x y z
setang pitch yaw roll
- getpos - Prints your current position and angle to the console. Useful for recording exact throw positions.
- setpos x y z - Teleports you to specific coordinates. Use this with
getposto save and return to throw spots. - setang pitch yaw roll - Sets your view angle to specific values. Combined with
setpos, you can recreate the exact position and aim for a lineup.
Give Commands
Need a specific weapon or grenade? These commands put items directly in your inventory.
give weapon_smokegrenade
give weapon_flashbang
give weapon_hegrenade
give weapon_molotov
give weapon_incgrenade
give weapon_decoy
give weapon_ak47
give weapon_m4a1
give weapon_awp
give weapon_deagle
- give weapon_smokegrenade - Gives you a smoke grenade
- give weapon_flashbang - Gives you a flashbang
- give weapon_hegrenade - Gives you an HE grenade
- give weapon_molotov - Gives you a molotov (T-side)
- give weapon_incgrenade - Gives you an incendiary grenade (CT-side)
- give weapon_decoy - Gives you a decoy grenade
With sv_infinite_ammo 1 enabled, you usually do not need these since you will have unlimited grenades. But they are useful if you specifically want to practice with a certain grenade type or weapon.
Bot Commands
Bots are useful for practicing flashes (checking if they would blind an enemy), testing molotov placements, or simulating site holds.
bot_add_t
bot_add_ct
bot_place
bot_stop 1
bot_mimic 1
bot_kick
bot_kill
Detailed Breakdown
- bot_add_t - Adds a Terrorist bot.
- bot_add_ct - Adds a Counter-Terrorist bot.
- bot_place - Places a bot exactly where you are standing and looking. This is the best way to position bots for practice - walk to where you want the bot, look in the direction you want it to face, and run the command.
- bot_stop 1 - Freezes all bots in place. They will not move, shoot, or do anything. Set to
0to let them move again. Essential for placing bots in specific positions for flash or molotov practice. - bot_mimic 1 - Makes all bots copy your movements and actions. Useful for testing what an enemy would see from their perspective.
- bot_kick - Removes all bots from the server.
- bot_kill - Kills all bots instantly. The bots will respawn next round.
Bot Practice Example
Here is a practical example. Say you want to practice a flashbang that blinds a player holding A site on Mirage:
- Switch to CT side:
jointeam 3 - Walk to the position where a defender would stand
- Run
bot_add_tthenbot_stop 1 - Run
bot_placeto put the bot where you are standing - Switch back to T side:
jointeam 2 - Go to your flash throw position and practice the throw
- Check if the bot would be blinded by looking at the flash impact
Round and Game Settings
These commands control the match flow and are useful for resetting rounds or adjusting game rules during practice.
mp_restartgame 1
mp_restart_level
mp_autoteambalance 0
mp_limitteams 0
mp_respawn_on_death_t 1
mp_respawn_on_death_ct 1
mp_free_armor 2
sv_alltalk 1
- mp_restartgame 1 - Restarts the game after 1 second. Resets the score and all players/bots. Useful for a clean start.
- mp_restart_level - Reloads the current map entirely.
- mp_autoteambalance 0 - Disables automatic team balancing so you can have uneven teams for practice.
- mp_limitteams 0 - Removes the team size limit.
- mp_respawn_on_death_t 1 - Terrorists respawn immediately after death. Set to
0to disable. - mp_respawn_on_death_ct 1 - Counter-Terrorists respawn immediately after death.
- mp_free_armor 2 - Gives all players free armor and helmet every round. Set to
1for armor only. - sv_alltalk 1 - Allows all players to hear each other regardless of team. Useful for practice with friends.
Smoke-Specific Practice Workflow
Here is a complete workflow for efficiently practicing smoke lineups using the commands above. This is the process I recommend when working through any of our lineup guides.
Step 1: Load the Map
Start a private match with bots on the map you want to practice. Open the console and enter the full setup:
sv_cheats 1; mp_warmup_end; mp_freezetime 0; mp_roundtime_defuse 60; sv_infinite_ammo 1; sv_grenade_trajectory 1; sv_grenade_trajectory_time 10; cl_grenadepreview 1; sv_showimpacts 1; mp_buy_anywhere 1; mp_buytime 9999; bot_kick
You can paste this entire line at once - the semicolons separate each command.
Step 2: Bind Noclip
bind "v" "noclip"
Step 3: Practice the Lineup
- Open our lineup guide (e.g., Inferno smokes or Nuke smokes)
- Walk to the throw position described in the guide
- Use
cl_grenadepreview 1to check your aim matches the guide - Throw the smoke and watch the trajectory
- Press V to noclip and fly to the landing spot to verify placement
- Noclip back to the throw position and repeat until consistent
Step 4: Test Without Trajectory
Once you can land the smoke consistently with trajectory lines visible, turn them off and test yourself:
sv_grenade_trajectory 0
cl_grenadepreview 0
If you can still land the smoke 9 out of 10 times without visual aids, you have it memorized.
Ready-to-Copy Practice Config
Save the following as practice.cfg in your CS2 config folder. Then type exec practice in console to load all settings at once.
The config folder location is:
Windows:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\
macOS:
~/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/
Linux:
~/.steam/steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/
Here is the complete practice config:
// CS2 Practice Config - lineups.gg
// Load with: exec practice
// Enable cheats (required)
sv_cheats 1
// End warmup and remove delays
mp_warmup_end
mp_freezetime 0
mp_roundtime_defuse 60
mp_roundtime 60
// Unlimited money and buy anywhere
mp_buy_anywhere 1
mp_buytime 9999
mp_maxmoney 65535
mp_startmoney 65535
mp_free_armor 2
// Grenade practice essentials
sv_infinite_ammo 1
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10
sv_grenade_trajectory_thickness 1
cl_grenadepreview 1
sv_showimpacts 1
// Movement
bind "v" "noclip"
// Remove bots
bot_kick
// Respawn settings
mp_respawn_on_death_t 1
mp_respawn_on_death_ct 1
// Clean start
mp_restartgame 1
echo "Practice config loaded - lineups.gg"
After loading this config, you are ready to practice any lineup on the site. Start with the maps that matter most to your rank - Mirage smokes and Dust2 smokes are the most popular and a great place to begin.
Useful Key Binds for Practice
Beyond noclip, there are a few other binds that speed up your practice workflow:
// Quick resmoke - drop all weapons and give yourself a fresh smoke
bind "n" "give weapon_smokegrenade"
// Toggle trajectory lines on/off
bind "j" "toggle sv_grenade_trajectory 0 1"
// Toggle grenade preview on/off
bind "k" "toggle cl_grenadepreview 0 1"
// Kill yourself to respawn (useful for resetting position)
bind "l" "kill"
These binds are entirely optional but they save you from opening the console repeatedly during practice sessions.
Commands That Do Not Work in CS2
If you are coming from CSGO, some familiar practice commands have changed or been removed:
- sv_grenade_trajectory_dash - Removed in CS2. The trajectory line is always solid.
- sv_grenade_trajectory_prac_pipreview - This was a CSGO community mod feature, not a base game command.
- cl_sim_grenade_trajectory - Replaced by
cl_grenadepreviewin CS2. - weapon_reticle_knife_show - Removed.
If you find a command online that does not work, it is likely a CSGO-era command that has not been ported to Source 2. Always test commands in a private server before adding them to your config.
Tips for Effective Practice
Practice one map at a time. Do not bounce between Mirage, Dust2, and Inferno in the same session. Pick one map, learn 3-5 lineups, and master them before moving on.
Start with high-impact smokes. Every map has 3-4 smokes that are used in nearly every round. For example, on Mirage the Window smoke and Jungle smoke are essential for any A execute. Learn these first.
Practice with a friend. Set up a private server with a teammate and practice full site executes. Coordinate your smokes, flashes, and mollies to simulate real match conditions. Two players who can reliably execute a site together will win significantly more rounds than players with raw aim alone.
Record your sessions. Use CS2’s demo recording (record demoname in console) or screen recording software. Watching yourself throw lineups lets you spot inconsistencies in your positioning or aim that you might not notice in real time.
Set a timer. Focused 20-30 minute practice sessions are more effective than hour-long sessions where your attention drifts. Set a specific goal - “I will land the Window smoke 10 times in a row” - and stop when you hit it.
For more practice tips and a complete setup walkthrough, visit our How to Practice Smokes in CS2 guide.
FAQ
Do practice commands work in competitive matchmaking?
No. The vast majority of practice commands require sv_cheats 1, which only works on private/local servers where you are the host. Competitive matchmaking servers, Premier mode, and any other VAC-secured server block sv_cheats entirely. Commands like sv_infinite_ammo, sv_grenade_trajectory, noclip, and bot_place will not work in online matches. The only commands from this guide that work in matchmaking are basic settings like keybinds and HUD adjustments that do not require sv_cheats.
Do you need sv_cheats enabled for all practice commands?
Not all of them, but most of the useful ones do require it. Commands like sv_infinite_ammo, sv_grenade_trajectory, sv_showimpacts, noclip, bot_place, and give all require sv_cheats 1 to be active. However, some commands work without sv_cheats, including mp_freezetime, mp_roundtime_defuse, mp_buy_anywhere, mp_buytime, mp_maxmoney, and mp_startmoney - these are server-side match settings that any server operator can change. In practice, you should always start by running sv_cheats 1 first so everything works without issues.
Can you save practice settings so they load automatically?
Yes. Create a file called practice.cfg in your CS2 config folder (the same cfg directory where autoexec.cfg goes) and paste all your practice commands into it. Then whenever you want to practice, load a private server and type exec practice in the console to apply every command at once. You can also add practice aliases to your autoexec.cfg so that typing a single word like practice in the console runs all your commands. The ready-to-copy practice config earlier in this guide is designed for exactly this purpose.
What is the best way to practice smoke lineups in CS2?
Load a private server on the map you want to practice, run the full practice setup commands (or exec practice if you saved the config), and work through lineups one at a time. Use sv_grenade_trajectory 1 and cl_grenadepreview 1 to see exactly where your grenade will travel. Bind noclip to a key so you can fly to the landing spot and verify placement instantly. Practice each smoke until you can land it consistently, then turn off trajectory lines and test yourself without visual aids. Focus on 3-5 high-impact smokes per session rather than trying to learn an entire map at once. Our map-specific lineup pages like Mirage smokes and Dust2 smokes list the most important smokes to learn first.
Want to level up your game?
Join our community for exclusive strats, VOD reviews, and practice sessions with other competitive players.