# How to Enable the Developer Console in American Truck Simulator (/docs/american-truck-simulator/developer-console)



import { Step, Steps } from 'fumadocs-ui/components/steps';

The developer console is needed to export server packages (required for mod setup).

Enabling the Console [#enabling-the-console]

1. Navigate to your ATS user directory:
   * **Windows:** `Documents/American Truck Simulator/`
2. Open `config.cfg` in a text editor
3. Find and change these two lines:

```
uset g_developer "1"
uset g_console "1"
```

4. Save the file
5. Launch the game

Using the Console [#using-the-console]

Press **`~`** (tilde key) to open the console in-game.

Key Commands [#key-commands]

| Command                         | Description                                                          |
| ------------------------------- | -------------------------------------------------------------------- |
| `export_server_packages`        | Export server\_packages.sii and server\_packages.dat for your server |
| `export_server_packages <path>` | Export to a custom location                                          |

> 📝 **Note:** You must be loaded into a game (on a map) before running `export_server_packages`. It won't work from the main menu.

Why You Need This [#why-you-need-this]

The `export_server_packages` command generates the two files your dedicated server needs to know about your map, DLCs, and mods. See [Mod Setup](/docs/american-truck-simulator/mod-setup) for the full process.

Related Guides [#related-guides]

* [Mod Setup](/docs/american-truck-simulator/mod-setup)
* [Server Configuration](/docs/american-truck-simulator/server-config)
