Files
cheatsheet-tldr/tldr/alacritty
2025-08-31 00:21:41 +00:00

34 lines
896 B
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}}`
- Execute 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}}`