Skip to content

Instantly share code, notes, and snippets.

@okor
Last active August 10, 2018 14:40
Show Gist options
  • Save okor/390087570bda93f985a4866a71e4d5f0 to your computer and use it in GitHub Desktop.
Save okor/390087570bda93f985a4866a71e4d5f0 to your computer and use it in GitHub Desktop.
Compile & Install Alacritty for MacOS
# Install rustup.rs
curl https://sh.rustup.rs -sSf | sh
git clone https://github.com/jwilm/alacritty.git
cd alacritty
# Optional: use 'scrollback' branch
git checkout scrollback
rustup override set stable
rustup update stable
make app
cp -r target/release/osx/Alacritty.app /Applications/
sudo mkdir -p /usr/local/share/man/man1
gzip -c alacritty.man | sudo tee /usr/local/share/man/man1/alacritty.1.gz > /dev/null
echo "source $(pwd)/alacritty-completions.bash" >> ~/.bash_profile
# Optional: source ~/.bash_profile in ~/.bashrc
# Alacritty seems to auto-source, .bashrc but not .bash_profile
touch ~/.bashrc
echo "source ~/.bash_profile" > ~/.bashrc
# Now just launch Alacritty from spotlight
# Configure by editing ~/.config/alacritty/alacritty.yml
# Maybe check out themes https://github.com/jwilm/alacritty/wiki/Color-schemes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment