How to create, configure, and export your CFG in CS:GO step by step

Last update: 02/04/2025
Author Isaac
  • CFG files allow you to customize CS:GO automatically with commands specific
  • They can be used for training, optimizing graphics, or copying professional settings.
  • Creating them is simple: just use a text editor and place them in the cfg folder
  • Running them from the console or with autoexec.cfg makes it easy to keep them always active.

CSGO Commands Create Export CFG

If you are a regular player of Counter-Strike: Global Offensive (CS:GO), you probably already know how important it is to have a custom setup for training, practicing plays, or simply fine-tuning the game to your style. This is where the CFG files They play a fundamental role, as they allow you to automatically save and load specific commands and configurations every time you start the game. If you want to learn more about configurations, you can read our article on Use files and settings in Windows.

In this article we are going to explain to you step by step How to create, configure, and export your own .CFG file in CS:GO, as well as taking advantage of professional player setups or sharing them with your friends. We've compiled all the useful information that the top-ranked websites offer on this topic and complemented it with practical details so you don't miss a thing.

What is a CFG file and what is it used for in CS:GO?

A file .CFG (Configuration File) In CS:GO it is a text document that contains a list of console commands that the game will execute automatically. What kind of commands? From visual aspects and controls to practice or training settings, allowing you to customize your experience in detail.

CFG files are stored in a specific folder within the game installation directory, and can be run manually at any time by entering exec filename.cfg on the game console. For more tips on settings, visit our guide on the configuration of the router 192.168.1.1.

They are especially useful for:

  • Training plays and strategies on custom maps or with bots.
  • Optimize performance of the game depending on your hardware.
  • Import pro player settings.
  • Avoid having to enter commands manually every time you start CS:GO.
  Cyberpunk, Dieselpunk, Biopunk, Solarpunk, and Steampunk in video games

Where is the CFG folder located in CS:GO?

To use or create .cfg files, you need to know the location of the folder where they should be saved. The path will vary depending on the operating system you use. Here are the most common paths:

  • Windows: C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\
  • macOS: ~/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/cfg/
  • Linux: ~/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo/cfg/

Once you are in that folder, you will be able to paste any .cfg files you created there or downloaded. You can also review the default ones and even edit them carefully. For more information on Windows settings, you can consult How to access Windows 7 settings.

How to create your own CFG file from scratch

Creating a configuration file is incredibly simple. You just need a text editor like Notepad (on Windows) or TextEdit (on macOS):

  1. Open the text editor and copy the commands you want.
  2. Save the file with the name you prefer, but ending in .cfg (for example, practica.cfg).
  3. Under “Type,” select “All Files” to prevent saving as .txt.
  4. Save it to your desktop or an accessible folder, then move it to the game's CFG folder.

Example of popular commands for training:

bot_kick
mp_freezetime 0
mp_roundtime 60
sv_cheats 1
mp_buy_anywhere 1
mp_buytime 99999
mp_startmoney 30000
sv_infinite_ammo 2
sv_grenade_trajectory 1
sv_grenade_trajectory_time 13
mp_respawn_on_death_ct 1
mp_respawn_on_death_t 1
cl_grenadepreview 1
bind «f2» sv_rethrow_last_grenade
bind "f1" noclip

These commands activate infinite ammo, visible grenade trajectories, automatic respawn, without bots, and even allow you to fly around the map to explore routes or angles. If you want to improve your settings, you could check out how to reset your notification settings in Android en this article.

How to run a CFG file in-game

Once you have saved your .cfg file in the correct folder, all that remains is run it from the developer console from CS:GO. To do this, make sure you have activated the console:

  1. Open CS:GO and go to «Options» → «Game Settings».
  2. Activate the Developer Console (activate console: “Yes”).
  3. Assign a key to open the console (usually “º” or whatever you choose).
  How to know the boot time and usage in Windows 11 with all the methods

When you are in a game, open the console and type:

exec filename.cfg

Replace the name with the file you created, and press Enter. That's it! All commands will be applied automatically.

What is an autoexec.cfg and what is it used for?

The file autoexec.cfg This is a special type of configuration that runs automatically every time you start CS:GO. It's ideal for keeping your configurations loaded without having to type "exec" into the console every time. For more information on configurations, see the Android settings used in Google Activity.

To create or edit it:

  1. Go to the cfg folder in your CS:GO installation.
  2. Create or modify a file named autoexec.cfg.
  3. Add your favorite commands and save the changes.

Tip: add at the end of your autoexec.cfg the line host_writeconfig to ensure that the changes are saved correctly.

Can I use pro player settings?

Many pro players share their .cfg files publicly. These settings include their sensitivity, resolution, binds, radar, HUD commands and more. Using them can be a great way to improve your game or inspire you to create your own. For more details, visit How to change fan settings in Windows 10.

Steps to use a professional setup:

  1. Find a reliable website or community (like Team Liquid, HLTV, etc.) where configs are shared.
  2. Download the corresponding file.
  3. Put it in the folder cfg from CS:GO.
  4. In-game, open the console and run: exec proname.cfg

Remember, you can tweak anything you don't like about the pro settings. Not everything fits every playstyle or hardware.

How to share your CFG with friends or export it

Exporting or sharing your CFG is as simple as send the .cfg file to your colleagues by mail, Discord, Google Drive or any other method. Make sure you tell them in which folder should they place it and how to run it with "exec" from the console. To learn more about network configuration, check out Automatic proxy network configuration in Windows.

  How to connect to an EC2 instance on AWS with SSH

Also, you can manage multiple custom configurations (for example, one for practice, one for competition, and one even for low-performance graphics) and switch between them instantly using “exec filename” as needed.

If you want to practice with friends in private games:

  • Invite them to your CS:GO lobby.
  • Start a match against bots on the map of your choice.
  • Activate your CFG from the console and everyone will be able to take advantage of the commands.

With all these tools and options, you can customize your training environment to suit you, discover new mechanics, and improve your skills both solo and in teams. Mastering the creation and use of CFG files in CS:GO is one of the most practical and effective ways to take your experience to the next level. Whether it's tweaking visuals, creating custom games, or importing your favorite pro builds, learning how to manage these files will save you time and train more effectively. With this comprehensive guide, you now have all the steps you need to delve into the world of advanced customization in CS:GO.

Related article:
How do I restore my Dell laptop to factory settings on Windows 7 without using a CD?

Leave a comment