# Alacritty for Raycast

URL: https://www.raycast.com/jose-elias-alvarez/alacritty

> Open Finder folders or edit selected files in the Alacritty terminal, and run clipboard or selected text as shell commands.

- Install: raycast://extensions/jose-elias-alvarez/alacritty
- Author: [jose-elias-alvarez](https://www.raycast.com/jose-elias-alvarez)
- Installs: 1,782
- Categories: Developer Tools, Productivity
- Updated: 2026-11-16
- Source: https://github.com/raycast/extensions/tree/3627d9b15ba4506ca8c8ac9d93c4585c5d2ec7ae/extensions/alacritty/

## Commands

- **Edit File in Alacritty**: Edit the selected Finder file(s) in Alacritty using $EDITOR
- **Open Folder in Alacritty**: Open an instance of Alacritty at the currently selected Finder folder(s) (or parent folder of the selected file)
- **Run Command From Clipboard**: Run the current clipboard content as a shell command in Alacritty. Use at your own risk!
- **Run Command From Selection**: Run the currently selected text as a shell command in Alacritty. Use at your own risk!

## README

### Alacritty

Adds commands to control the Alacritty terminal emulator.

#### Commands

##### Edit File in Alacritty

Edits the currently selected Finder item(s) in a new Alacritty window using `$EDITOR`.

- If `$EDITOR` is unset, the command falls back to `/usr/bin/vim`.
- Selected items are passed to the editor using the following format: `$EDITOR '/path/to/file1' '/path/to/file2'`.
- If you're using Vim, each item is added to the arglist, which you can navigate using `:next` and `:prev`.

##### Open Folder in Alacritty

Opens a new Alacritty window at the currently selected directory (or the parent directory of the current file if a file is selected).

- Multiple selections will open a new Alacritty window at each selection.

##### Run Command from Clipboard

Runs the current clipboard content as a shell command in Alacritty. **Use at your own risk!**

- Shell commands can do very bad things, including permanently deleting files and accessing sensitive data. Make sure you've carefully reviewed any command before running it.

##### Run Command from Selection

Runs the currently selected text as a shell command in Alacritty. **Use at your own risk!**

- See the precautions above.

#### Configuration

##### Alacritty Path

Full path to the Alacritty executable. Defaults to `/Applications/Alacritty.app/Contents/MacOS/alacritty`.

##### Shell Path

Full path to the shell executable used to run commands. Defaults to `/bin/zsh`.

- To use your preferred shell, set this to the output of `echo $SHELL`.

- The plugin currently supports `zsh`, `bash`, and `sh` (tested against the versions included with macOS Ventura) and `fish` (tested against the latest version from Homebrew).

#### License

The plugin is licensed under the MIT license.

The extension's icon is borrowed from [Alacritty](https://github.com/alacritty/alacritty), which is licensed under the [Apache License 2.0](https://github.com/alacritty/alacritty/blob/master/LICENSE-APACHE).
