Linux command
alacritty 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start
alacritty
Example
alacritty --working-directory [/path/to/dir]
Example
alacritty -e [htop]
Example
alacritty --config-file [~/.config/alacritty/custom.toml]
Example
alacritty --title "[My Terminal]"
说明
alacritty is a modern, GPU-accelerated terminal emulator focused on simplicity and performance. It leverages OpenGL for rendering, providing smooth scrolling and low latency input handling. Configuration is done through a TOML or YAML file (depending on version), supporting customization of colors, fonts, keybindings, and behavior. It aims to have sensible defaults while remaining configurable.
参数
- -e _command_
- Execute command instead of default shell
- --working-directory _path_
- Set initial working directory
- --config-file _file_
- Use alternate configuration file
- --title _title_
- Set window title
- --class _class_
- Set window class (X11/Wayland)
- -o _options_
- Override config file options
- --hold
- Keep window open after command exits
- -v, --version
- Display version information
- --print-events
- Print all events for debugging
FAQ
What is the alacritty command used for?
alacritty is a modern, GPU-accelerated terminal emulator focused on simplicity and performance. It leverages OpenGL for rendering, providing smooth scrolling and low latency input handling. Configuration is done through a TOML or YAML file (depending on version), supporting customization of colors, fonts, keybindings, and behavior. It aims to have sensible defaults while remaining configurable.
How do I run a basic alacritty example?
Run `alacritty` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -e _command_ do in alacritty?
Execute command instead of default shell