How To Make Your Boring macOS Terminal Amazing With Alacritty
Ғылым және технология
I recently switched from iTerm2 to Alacritty and in this video I show you everything I do to create a minimal, amazing & fast terminal setup with it on macOs. I've really enjoyed this change. Hope you guys enjoy the video!
✍🏽 Blog Post With Code & Commands: bit.ly/3y2VhHw
💻 Source Code/Dotfiles: bit.ly/4cFlPyq
UPDATE: After making this video, many of you recommended WezTerm and I decided to give it a try. It's awesome, so thank you! Though Alacritty works great, WezTerm is a bit better in my opinion. I've added a ~/.wezterm.lua config file to the repo: github.com/josean-dev/dev-env.... This is all you need to change to have pretty much the same setup as the one shown in this video, but with WezTerm instead. Thanks!
📧 Subscribe To My Newsletter: buttondown.email/josean
☕️ Help Support Me And The Channel: www.buymeacoffee.com/joseanma...
🔗 Helpful Links
Alacritty configuration docs: bit.ly/4dm4ATc
Toml spec: app.bitly.com/Bo3blEqCFMW/lin...
Alacritty Themes: bit.ly/3Qq2GqI
🎥 Related/Helpful Videos
7 Amazing CLI Tools You Need To Try: • 7 Amazing CLI Tools Yo...
How I Setup & Use Tmux: • How I Use Tmux With Ne...
How To Use Setup Neovim in 2024: • How I Setup Neovim To ...
⏰ Timestamps
00:00 - Introduction
00:29 - Install homebrew
01:23 - Install alacritty
01:55 - Install git
02:02 - Install nerd font
02:32 - Create config file
03:30 - Window configuration
05:03 - Font configuration
05:32 - True colors (for tmux)
05:52 - Setup p10k theme
07:38 - Setup theme colors
09:46 - Better history completion
11:20 - zsh-autosuggestions
11:54 - zsh-syntax-highlighting
12:43 - eza (better ls)
13:13 - zoxide (better cd)
14:25 - Setup tmux
15:59 - Conclusion
Пікірлер: 138
UPDATE: After making this video, many of you recommended WezTerm and I decided to give it a try. It's awesome, so thank you! Though Alacritty works great, WezTerm is a bit better in my opinion. I've added a ~/.wezterm.lua config file to the repo: github.com/josean-dev/dev-environment-files/blob/main/.wezterm.lua. This is all you need to change to have pretty much the same setup as the one shown in this video, but with WezTerm instead. Thanks!
@chandebrec5856
15 күн бұрын
In what way(s) is WezTerm a bit better? For that matter, in what *perceptible" ways is Alacritty faster than iTerm2 -- what tasks would make the speed difference noticeable?
@shouryasharma9228
13 күн бұрын
@@chandebrec5856 +1
@user-ms7qr6bi6v
10 күн бұрын
Thanks to upload very useful contents. I used the wezterm config file you uploaded, but it's inconvenient because I can't see the tabs.
@chrislacey89
5 күн бұрын
Would also be keen to hear your thoughts. WezTerm seems more configurable & has much better documentation. Any other big things to note?
@BrunoSantosX
3 күн бұрын
WezTerm is another accelerated GPU terminal Emulator?
hi, i recently discoverd your channel, all i may say is, thank you, wow. Good quality, well presented, not bloated with unuseful information. Thanks!!!!
I've been using Alacritty for a couple months so I didn't pick up many tips from that section. However, your history keybindings tips were awesome. That was worth the price of the whole video.
Fantastic tutorial. Thanks for the clear instructions and blog.
Awesome. Just setup my config last month and had to research a lot. It's great finally someone did the hard work and dropped the vid. Also can you make a video on setting up fish terminal?
Flawless as always! Great job!
Yet again there are some gems here ☺️👍
@joseanmartinez
18 күн бұрын
Thanks!
thank you for this video. For eza i recommand two aliases. The first the one you show The seconds alias ll="eza -l" to show permissions and users
Great video!! may i ask how to make the transparent effect that can see through ur desk? I wanna make some chill setup video like this!! Thanks I'm ur big fan
Great vid!
Hey great video keep up the good work, watched an old setup video recently, the section about internet sharing for testing websites on mobile. Can you do a video or short explaining how it’s done. Or any resources you can share on how you got this done.🙏
Hi Josean, great video! May I ask that how do you record a single window with shadow so you can overlay the recording to a background video?
I absolutely love your Coolnight theme. I was poking around your Git repo hoping to find that theme for VS Code. I know you like Neovim but did you ever construct a Coolnight for VS Code?
I love your videos. !Great work, my man!
Awesome! Are you using any enhanced versions of Ranger/Dirvish, too?
Amazing videos 🎉
Hey 👋, Thanks for your videos! you rocks! quick question, why did you set the env. variable TERM to xterm-256color? I'm curious about it.
Hey guys! I’ve been using Alacritty recently and have really enjoyed it because its simple and suits my nvim/tmux workflow well. That said, there’s other great options out there I haven’t tried yet like Kitty, Wezterm or Warp. I might look into them in the future, but use whatever works well for you! Hope you enjoy the video!
@myhstic
18 күн бұрын
I switched from warp to kitty. I feel warp is getting slower and more bloated than it was in the beginning
@aldredd
17 күн бұрын
I've been trying out warp - I'm a lighter terminal user than a lot of other users, so find warp's prompts when I want to do something specific a huge help, and encourages me to use it more
@davemeech
17 күн бұрын
I have been using warp and enjoying it for the most part, but I am getting big I shouldn't be using it on my work machine vibes from it given it requires a login. This is compelling me to switch!
@74Bagas
15 күн бұрын
kitty, alacritty, wezterm, can't go wrong. installed all, except kitty. and i prefer alacritty for main terminal, wezterm for "just in case". tried warp, it's not for me, it was fun though.
Thanks for the video. I used Alacritty for almost a year on Mac. But I switched to Wezterm due to the lack of features in Alacrttiy compared to Wezterm. Font ligatures was for me the reason to switch to Wezterm and also Lua config.
@joseanmartinez
18 күн бұрын
I'll have to check it out! Thanks
@themarksmith
17 күн бұрын
Just installed Wezterm - seems great!
@danielstoddart
15 күн бұрын
@@themarksmith Nothing against Wezterm, but it's still developed by one guy, right? That kind of gives me pause. I prefer projects where there's little chance of them going away.
@themarksmith
15 күн бұрын
@@danielstoddart Good point, but it does seem to be a great mix of iTerm2 and Kitty...
Hello. Thanks for you videos. Why don't you use something to manage your dot files?
Another banger. Commenting for the algorithm 🎉
@joseanmartinez
17 күн бұрын
Thank you!
Using Meslo as your font. Great Taste!
Great video man .. I just wish Alacritty would support font fallback but from what I saw in their GH repo, issue #957 is opened since 2017
Thanks for the video! In Linux I use Ctrl right and left to move one word, but that doesn't work in macOS terminals, including alacritty.. do you experience that as well?
Thank you so much for this video.... but does it really take so long for eza to install?
very, very, very good!!! 👍👍👍
@joseanmartinez
18 күн бұрын
Thanks!
What made you decide to use Alacritty? I am experimenting with Wez
Hi @joseanmartinez do u know how to add the standard mac border, as it is right now its borderless on mac. Thanks !
very helpful
what is technical reason to choose alacritty instead of kitty or other ?
using warp with tmux and nvim with the same config I had in iterm2 . I do not wanna make the switch yet. Keep using iterm2 from time to time but warp is fast - 2 fast- and as a bonus - it got AI. BTW after watching your videos o am switched also to a wireless corne xiao build. Can you share your layers ? thank you and chapeau!
my tip is to create an alias in Arc for my current terminal (i use “terminal” although it shadows the terminal app). since i frequently try out terminals, browsers, etc. i don’t want to remember the name of the app i currently or open the wrong one by mistake
Well done, nive rice you have there!
@joseanmartinez
17 күн бұрын
Thanks!
Now we're talking! Alacritty ftw. You still use zsh 🙂 (coming up: 'how to switch to bash') Thanks /Ben
Have you tried Kitty? It's even better.
@joseanmartinez
18 күн бұрын
Haven’t tried it, but heard good things!
hi, I like you keyboard!
What keyboard is that?
Are you using qwerty layout on your keyboard?
@joseanmartinez
17 күн бұрын
Yep!
Top of my friend, you could make Kitty's terminal a friend.
TIL you can brew internal nerdfonts
The wizard overwrote my entire .zshrc file; that's a lot of work to erase. I've got a backup, but that's not something which was mentioned in the wizard, or the video, definitely something to keep note of.
After adding ls alias using eza I am unable to use ls -l command to see the permission related details of files but alternatively I can use eza -l to get all the file permission details
@joseanmartinez
18 күн бұрын
Yeah you can change the alias to something like just “eza” with no arguments and use “ls -long” afterwards which is the argument you need for eza
@joseanmartinez
18 күн бұрын
Actually, just changed the blog post to make the alias be "ls=eza --icons=always". Thanks for pointing this out.
@NikhilKumar-cl7rj
18 күн бұрын
@@joseanmartinez you are welcome boiii
How to fullscreen?
I know you also use(d) yabai, did you get Alacritty to work with yabai? When I use Alacritty now it is never managed by yabai and whatever I do it stays a floating window. Maybe it's because I also set it up as buttonless?
@joseanmartinez
18 күн бұрын
Hmm that's weird, it works fine for me.
@krisvanderven2367
18 күн бұрын
@@joseanmartinez weird indeed, will keep looking for a solution. It is stopping me from using Alacritty.
@joseanmartinez
18 күн бұрын
@@krisvanderven2367 Maybe try updating both yabai and alacritty?
@krisvanderven2367
18 күн бұрын
@@joseanmartinez when I changed "assign to all desktops" it worked. Never knew that option was on. #facePalm This video helped me switch!
Excellent video but the CTRL+a and SHIFT+I does nothing... also CTRL+hkl... doesn't move panes... most likely my own config screwing things up!
@TheMk6488
13 күн бұрын
Same here. Nothing happens when I press CTRL+a and SHIFT+i.
How did you get your Neovim to look like that???
@joseanmartinez
17 күн бұрын
I have a full guide on my Neovim setup here: kzread.info/dash/bejne/aKR1qZV7eNjYlLA.htmlsi=ZuH80PQ1RTwWm3Uk
My issue with this sort of thing has always been that I'm in 10-20 different shells every day, having customization in one and not in another gets real frustrating
What keyboard is that? 🥰
@joseanmartinez
17 күн бұрын
MX Corne v3
kitty or wezterm all day
Is it ok to have 2 terminal setups on your computer? like iTerm2 and Alacritty running at the same time
@joseanmartinez
18 күн бұрын
Sure! The colorschemes will be different, but that’s fine.
@micaelviana
18 күн бұрын
Why do two terminals open at the same time? Is it not easier to use tabs?
@joseanmartinez
18 күн бұрын
I was just answering as to whether its ok to have two setups. It is, but I personally just use one and use tmux for all my sessions, windows and panes.
@dexmark5
18 күн бұрын
@@micaelviana i like to change from minimall to full info ones for diffrent ones that's why :)
Why not just use warp? I’ve been using it for over a year now and absolutely love it
@joseanmartinez
18 күн бұрын
I haven’t tried it, but I like that Alacritty is open source and it works well with my tmux/nvim workflow
@owenbrown5992
18 күн бұрын
@@joseanmartinez I do like how it seems to build around the default Mac terminal. I just feel like Warp is already to go out of the box. Not much set up, but you still have ability to do plenty of customization
FYI be sure to check that logos actually mathc at around 6:30 an arabic symbol was being displayed instead of an up arrow. Might lead to some unusual behavior if not careful!
Is there a reason you’re not using your wireless corne anymore?
@joseanmartinez
17 күн бұрын
I’ve been using both. I started a small shop where I have wired corne pcbs (splittype.com) and made one for myself and like it on my desk, but I still use the wireless one on the go.
oh great now i have to uninstall iterm2 that i just install yesterday
@jimmahgee
18 күн бұрын
That’s a vibe
@BiGreDNoSecoMpAny
18 күн бұрын
Tomorrow you will install Warp, then you find the next KZreadr who’s using the built-in MacOS Terminal for simplicity, then again someone tells you about an open source Warp alternative, only to switch back to Alacritty the day after 🙏 prayers to all of us clueless devs :(
@Feedback406
18 күн бұрын
I use both Iterm2 you can view images with You can’t do that with alacrity
@AllenGodswill-im3op
15 күн бұрын
Lol 😂, you can use both.
Maybe if you care about productivity you could use Fish :)
oh alacritty config file has blur option now
hmmm,我在想有没有办法一打开Ala就直接是3 个很酷的 tmux session!
alacritty with tmux is slow, isn't it?
6:30 that was not an arrow though, that was an arabic letter..
I see where this is going.. when are you installing Arch? 😜 Alacritty is great. Maybe a bit limited compared to some others, but it's the terminal I find myself using the most.
bro just use Warp terminal
@joseanmartinez
18 күн бұрын
I haven’t tried it yet, but I like that Alacritty is open source and works well with my nvim/tmux workflow
@eeknud
5 күн бұрын
Big fan of Warp, especially now it’s on Mac and Linux. However, their endgame has to be subscription or something so it will get down to paid vs open at some point. Happy to pay if it gives me features that I need and so far it does.
I like ligatures, so Alacritty is out for me. Wezterm wins.
UPDATE LAZY
kitty is faster than alacritty
@joseanmartinez
18 күн бұрын
Have heard good things about Kitty, Alacritty is pretty fast too!
@zheil9152
18 күн бұрын
Watching people burn all of the milliseconds of “saved time” by advertising their slightly faster alternative will never not be funny
@fschlegelone
18 күн бұрын
nobody notices that they are both fast as fck
@jeroAhumada
18 күн бұрын
I tried kitty but there's some issues with tmux, and the main developer says he hates tmux so he have no plans to fix them, that's why I stuck with iterm2. Now with this video, I think I'm gonna try alacritty
@fschlegelone
18 күн бұрын
@@jeroAhumada hahah yeah thats why kitty introduced their own session & pane management
It's strange that for someone who makes everything so convenient for himself, you completely ignore the autocomplete capabilities of the command line and type everything in its entirety....
@joseanmartinez
16 күн бұрын
Its for the tutorial, to make things clear and easy to follow
The best way to make a MAC amazing is to use a Windows PC.
@jwr6796
17 күн бұрын
That boots Linux.
@chandebrec5856
15 күн бұрын
Can always tell the Windows users by their rendering of "Mac" in all uppercase as if it were "IBM".