Files
cheatsheet-tldr/tldr/alacritty
2025-03-29 00:18:23 +00:00

38 lines
1.0 KiB
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# alacritty
> Cross-platform, GPU-accelerated terminal emulator.
> More information: <https://manned.org/alacritty>.
- Start a new Alacritty process and create a window:
`alacritty`
- Start the Alacritty daemon (without creating a window):
`alacritty --daemon`
- Create a new window using the already running Alacritty process:
`alacritty msg create-window`
- Start the shell in a specific directory (also works with `alacritty msg create-window`):
`alacritty --working-directory {{path/to/directory}}`
- [e]xecute a command in a new Alacritty window (also works with `alacritty msg create-window`):
`alacritty {{[-e|--command]}} {{command}}`
- Use an alternative configuration file (defaults to `$XDG_CONFIG_HOME/alacritty/alacritty.toml`):
`alacritty --config-file {{path/to/config.toml}}`
- Run with live configuration reload enabled (can also be enabled by default in `alacritty.toml`):
`alacritty --live-config-reload --config-file {{path/to/config.toml}}`