Linux command
ghostty 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start Ghostty
ghostty
Run a command
ghostty -e [command]
Start with a specific working directory
ghostty --working-directory=[/path/to/directory]
Use a custom configuration file
ghostty --config-file=[path/to/config]
Start in fullscreen mode
ghostty --fullscreen
Set custom font and font size
ghostty -o font-family=[Fira Code] -o font-size=[14]
Override a configuration option
ghostty -o [font-size=14]
List available themes
ghostty +list-themes
List available fonts
ghostty +list-fonts
Show current configuration
ghostty +show-config
说明
Ghostty is a fast, feature-rich terminal emulator that uses GPU acceleration for rendering. It combines the speed of minimal terminals with advanced features while maintaining native platform integration. The terminal supports true color (24-bit), Unicode with ligatures and emoji, images (Sixel, iTerm2, Kitty protocols), hyperlinks, and advanced text rendering with font fallback. It provides tabs, splits, and multiple windows with fully customizable keybindings.
参数
- -e _command_
- Execute command instead of the default shell.
- -o _option=value_
- Override a configuration option.
- --config-file _path_
- Use alternate configuration file.
- --working-directory _path_
- Set initial working directory.
- --fullscreen
- Start in fullscreen mode.
- --title _string_
- Set window title.
- --class _string_
- Set window class (Wayland/X11).
- --help
- Show help information.
- --version
- Show version information.
- +list-actions
- List available actions for keybindings.
- +list-colors
- List available color names.
- +list-fonts
- List available fonts.
- +list-keybinds
- List current keybindings.
- +list-themes
- List available themes.
- +show-config
- Show current configuration with all resolved values.
- +validate
- Validate configuration file for errors.
- +crash-report
- Show details of the most recent crash.
FAQ
What is the ghostty command used for?
Ghostty is a fast, feature-rich terminal emulator that uses GPU acceleration for rendering. It combines the speed of minimal terminals with advanced features while maintaining native platform integration. The terminal supports true color (24-bit), Unicode with ligatures and emoji, images (Sixel, iTerm2, Kitty protocols), hyperlinks, and advanced text rendering with font fallback. It provides tabs, splits, and multiple windows with fully customizable keybindings.
How do I run a basic ghostty example?
Run `ghostty` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -e _command_ do in ghostty?
Execute command instead of the default shell.