Skip to main content
The show-config command outputs the current Ghostty configuration in a valid configuration file format.

Usage

Description

This command displays the effective configuration that Ghostty is using. By default, it only shows options that differ from the default values. The output is valid Ghostty configuration syntax that can be copied directly into a config file. The output format may not exactly match your input configuration files (comments, whitespace, and formatting are not preserved), but it will result in the same behavior.

Options

boolean
Show the default configuration instead of loading the user configuration. Useful for seeing what Ghostty’s built-in defaults are.
boolean
default:"true"
Only show options that have been changed from the default values. This has no effect when --default is specified.Set to false to show all configuration options regardless of whether they’ve been changed.
boolean
Print documentation above each option as a comment. This makes the output very verbose but is extremely useful for learning about available options, especially when combined with --default.
flag
Display help information for this command.

Examples

Show Your Current Changes

Shows only the configuration options you’ve changed from defaults.

Show All Default Options

Show Config with Documentation

Perfect for learning about all available configuration options.

Backup Your Configuration

Save your current configuration to a file.

Compare with Defaults

See exactly what’s different between your config and defaults.

Export for Sharing

Export your configuration to share with others (be sure to review for sensitive information first).

Output Format

The output follows standard Ghostty configuration syntax:
Format

Use Cases

For New Users

Explore all available options and their defaults:

For Configuration Management

Generate a clean configuration file:

For Debugging

Verify what Ghostty is actually loading:
If an option doesn’t appear, it’s using the default value.

For Documentation

Generate configuration with inline documentation:

Notes

The output order is consistent between runs but doesn’t necessarily match the order in your input files. Options are grouped logically by the configuration system.
When using --changes-only=false without --default, you’ll see your customized values merged with all default values.
Conditional configurations and platform-specific settings are evaluated before output, so you’ll see the effective configuration for your current platform.

See Also