--- title: "Command-Line parameters" slug: "command-line-parameters" updated: 2026-09-08T19:10:56Z published: 2026-09-08T19:10:56Z canonical: "docs.trellix.com/command-line-parameters" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Command-Line parameters The following command-line parameters can be specified for the `xagt` command. To run the `xagt` command, you must be logged in as an administrator and you must have navigated to the version (or later) xAgent installation directory where the `xagt.exe` file is stored. | Parameter | Shortcut | Description | | --- | --- | --- | | `--cfg-export` | -x | Exports the configuration file. For example: `xagt -x agent_conf.json` | | `--cfg-import` | -i | Imports the configuration file. For example: `xagt -i agent_conf.json ` | | `--help` | -h | Lists the command-line parameters and their usage. For example: `xagt -h` | | `--log` | -l | This parameter is for Trellixuse only. Do not use it. To set the logging level, update the agent_config.json file, as described in [logging Settings](/docs/logging-section-settings) . | | `--log-export` | -g | Exports the log to the specified file. For example: `xagt -g log.txt` | | `--version` | -v | Displays the agent version. For example: `xagt -v` | :