How To Make Your Boring macOS Terminal Amazing With Alacritty

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • 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
  • НаукаНаука

Комментарии • 151

  • @joseanmartinez
    @joseanmartinez  26 дней назад +20

    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
      @chandebrec5856 25 дней назад +7

      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
      @shouryasharma9228 24 дня назад

      @@chandebrec5856 +1

    • @user-ms7qr6bi6v
      @user-ms7qr6bi6v 21 день назад

      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
      @chrislacey89 16 дней назад

      Would also be keen to hear your thoughts. WezTerm seems more configurable & has much better documentation. Any other big things to note?

    • @BrunoSantosX
      @BrunoSantosX 14 дней назад

      WezTerm is another accelerated GPU terminal Emulator?

  • @scottfwalter
    @scottfwalter 27 дней назад +9

    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.

  • @nagisupercell
    @nagisupercell День назад

    I love the instant changing when I save the config file of Alacrity.

  • @akshitgupta4749
    @akshitgupta4749 29 дней назад +5

    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?

  • @alonelyproducer663
    @alonelyproducer663 11 дней назад

    hi, i recently discoverd your channel, all i may say is, thank you, wow. Good quality, well presented, not bloated with unuseful information. Thanks!!!!

  • @ykhemani
    @ykhemani 2 дня назад

    The video coupled with the blog was amazing! Thank you so much!

  • @wheaten1
    @wheaten1 28 дней назад +1

    Fantastic tutorial. Thanks for the clear instructions and blog.

  • @adenreleemmanuel9848
    @adenreleemmanuel9848 Час назад

    Great work Josea... much love❤❤❤

  • @joseanmartinez
    @joseanmartinez  29 дней назад +11

    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
      @myhstic 28 дней назад +1

      I switched from warp to kitty. I feel warp is getting slower and more bloated than it was in the beginning

    • @aldredd
      @aldredd 28 дней назад +1

      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
      @davemeech 28 дней назад +1

      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
      @74Bagas 26 дней назад

      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.

  • @Liltsco
    @Liltsco 22 дня назад

    Flawless as always! Great job!

  • @utvikler-no
    @utvikler-no 29 дней назад +8

    Yet again there are some gems here ☺️👍

  • @dinakanwamu5676
    @dinakanwamu5676 20 дней назад

    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.🙏

  • @patricorgi
    @patricorgi 28 дней назад +2

    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?

  • @pokiandboki1224
    @pokiandboki1224 29 дней назад +1

    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

  • @jeffersonspringfield1785
    @jeffersonspringfield1785 26 дней назад

    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?

  • @MrArso99
    @MrArso99 28 дней назад +3

    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

  • @HellhammerHH
    @HellhammerHH 26 дней назад

    Awesome! Are you using any enhanced versions of Ranger/Dirvish, too?

  • @vladgonzalez3325
    @vladgonzalez3325 28 дней назад

    I love your videos. !Great work, my man!

  • @costerik
    @costerik 24 дня назад

    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.

  • @andriimartynov
    @andriimartynov 28 дней назад

    Hello. Thanks for you videos. Why don't you use something to manage your dot files?

  • @ettorerossatto8531
    @ettorerossatto8531 День назад +1

    I got Error msg trying to run "brew tap homebrew/cask-fonts":
    "Error: homebrew/cask-fonts was deprecated. This tap is now empty and all its contents were either deleted or migrated."
    Then I directly run:
    "brew install --cask font-meslo-lg-nerd-font"
    Looks like works. Let me know if there is something wrong. Thanks

  • @ilyeshammadi7278
    @ilyeshammadi7278 28 дней назад +1

    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
      @joseanmartinez  28 дней назад

      I'll have to check it out! Thanks

    • @themarksmith
      @themarksmith 28 дней назад

      Just installed Wezterm - seems great!

    • @danielstoddart
      @danielstoddart 26 дней назад +1

      @@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
      @themarksmith 26 дней назад

      @@danielstoddart Good point, but it does seem to be a great mix of iTerm2 and Kitty...

  • @Adverse191
    @Adverse191 8 дней назад

    Thanks for the video. What key switches you use?

  • @lupionpe
    @lupionpe 29 дней назад

    What made you decide to use Alacritty? I am experimenting with Wez

  • @kasiezhang
    @kasiezhang 10 дней назад

    nice video, thanks josean.

  • @gregsonberlin3782
    @gregsonberlin3782 6 дней назад +1

    Quite interesting that a lot of obviously very IT-familiar guys use „clear“ to clean the terminal instead of using the shortcut or save/quit vi with „:w :q“ instead of using the shortcut.

  • @vredurs
    @vredurs 8 дней назад

    Awesome video, thanks a lot

  • @ericlindell3777
    @ericlindell3777 28 дней назад

    Great vid!

  • @LawrenceChege
    @LawrenceChege День назад

    I love the tutorial! I was wondering how I could increase the width and height of the Alacrity window. Let me know how that is done.

  • @rodriidamn98
    @rodriidamn98 28 дней назад

    Amazing videos 🎉

  • @itisciprian
    @itisciprian 28 дней назад

    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!

  • @Shane-wf7ss
    @Shane-wf7ss 2 дня назад

    Your keyboard looks good. Could you tell me what is this?

  • @sirhmvfx3496
    @sirhmvfx3496 17 дней назад

    Thank you so much for this video.... but does it really take so long for eza to install?

  • @rodhash
    @rodhash 28 дней назад

    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

  • @LorenzoBettini
    @LorenzoBettini 22 дня назад

    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?

  • @StoneColdET_
    @StoneColdET_ 28 дней назад

    Another banger. Commenting for the algorithm 🎉

  • @tompov227
    @tompov227 28 дней назад

    Using Meslo as your font. Great Taste!

  • @RS_DEVOPS
    @RS_DEVOPS 29 дней назад

    very, very, very good!!! 👍👍👍

  • @Tranuc-up6sp
    @Tranuc-up6sp 29 дней назад +54

    oh great now i have to uninstall iterm2 that i just install yesterday

    • @jimmahgee
      @jimmahgee 29 дней назад +2

      That’s a vibe

    • @BiGreDNoSecoMpAny
      @BiGreDNoSecoMpAny 28 дней назад +8

      Tomorrow you will install Warp, then you find the next RUclipsr 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
      @Feedback406 28 дней назад +1

      I use both
      Iterm2 you can view images with
      You can’t do that with alacrity

    • @AllenGodswill-im3op
      @AllenGodswill-im3op 25 дней назад

      Lol 😂, you can use both.

  • @kamalkamals
    @kamalkamals 17 дней назад +1

    what is technical reason to choose alacritty instead of kitty or other ?

  • @loo_9
    @loo_9 26 дней назад

    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

  • @darah.k3221
    @darah.k3221 5 дней назад

    This video was about a cool keyboard and typing abillity

  • @user-dw8hq5ni9e
    @user-dw8hq5ni9e 23 дня назад

    Hi @joseanmartinez do u know how to add the standard mac border, as it is right now its borderless on mac. Thanks !

  • @TerenceKearns
    @TerenceKearns 24 дня назад

    very helpful

  • @themarksmith
    @themarksmith 28 дней назад +2

    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
      @TheMk6488 24 дня назад +2

      Same here. Nothing happens when I press CTRL+a and SHIFT+i.

  • @benarcher372
    @benarcher372 28 дней назад +1

    Now we're talking! Alacritty ftw. You still use zsh 🙂 (coming up: 'how to switch to bash') Thanks /Ben

  • @user-hh4br5tk5p
    @user-hh4br5tk5p 28 дней назад

    Well done, nive rice you have there!

  • @krisvanderven2367
    @krisvanderven2367 28 дней назад

    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
      @joseanmartinez  28 дней назад +1

      Hmm that's weird, it works fine for me.

    • @krisvanderven2367
      @krisvanderven2367 28 дней назад

      @@joseanmartinez weird indeed, will keep looking for a solution. It is stopping me from using Alacritty.

    • @joseanmartinez
      @joseanmartinez  28 дней назад

      @@krisvanderven2367 Maybe try updating both yabai and alacritty?

    • @krisvanderven2367
      @krisvanderven2367 28 дней назад

      @@joseanmartinez when I changed "assign to all desktops" it worked. Never knew that option was on. #facePalm
      This video helped me switch!

  • @louissenderler6866
    @louissenderler6866 22 дня назад

    hi, I like you keyboard!

  • @alborisninvel3714
    @alborisninvel3714 29 дней назад +10

    Have you tried Kitty? It's even better.

    • @joseanmartinez
      @joseanmartinez  29 дней назад

      Haven’t tried it, but heard good things!

  • @miguelv06
    @miguelv06 28 дней назад

    Are you using qwerty layout on your keyboard?

  • @RogerioGoSantos
    @RogerioGoSantos 27 дней назад

    Top of my friend, you could make Kitty's terminal a friend.

  • @aceaspadesblack7399
    @aceaspadesblack7399 18 дней назад

    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.

  • @dexmark5
    @dexmark5 29 дней назад

    Is it ok to have 2 terminal setups on your computer? like iTerm2 and Alacritty running at the same time

    • @joseanmartinez
      @joseanmartinez  29 дней назад

      Sure! The colorschemes will be different, but that’s fine.

    • @micaelviana
      @micaelviana 29 дней назад

      Why do two terminals open at the same time? Is it not easier to use tabs?

    • @joseanmartinez
      @joseanmartinez  29 дней назад

      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
      @dexmark5 29 дней назад +1

      @@micaelviana i like to change from minimall to full info ones for diffrent ones that's why :)

  • @bailout00
    @bailout00 14 дней назад

    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

  • @NikhilKumar-cl7rj
    @NikhilKumar-cl7rj 28 дней назад

    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
      @joseanmartinez  28 дней назад

      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
      @joseanmartinez  28 дней назад +1

      Actually, just changed the blog post to make the alias be "ls=eza --icons=always". Thanks for pointing this out.

    • @NikhilKumar-cl7rj
      @NikhilKumar-cl7rj 28 дней назад

      @@joseanmartinez you are welcome boiii

  • @owenbrown5992
    @owenbrown5992 29 дней назад

    Why not just use warp? I’ve been using it for over a year now and absolutely love it

    • @joseanmartinez
      @joseanmartinez  29 дней назад +2

      I haven’t tried it, but I like that Alacritty is open source and it works well with my tmux/nvim workflow

    • @owenbrown5992
      @owenbrown5992 29 дней назад

      @@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

  • @MStoica
    @MStoica 28 дней назад +1

    What keyboard is that? 🥰

  • @ivantedja5072
    @ivantedja5072 8 дней назад

    I encounter this error
    brew tap homebrew/cask-fonts
    Error: homebrew/cask-fonts was deprecated. This tap is now empty and all its contents were either deleted or migrated.
    Have any of you had the same problem?

    • @LahiruKurukulasuriya-pd5em
      @LahiruKurukulasuriya-pd5em 5 дней назад

      Just skip that command. Last week they depreciate the repo. You can install fonts directly from homebrew

  • @teamvigod
    @teamvigod 28 дней назад

    How did you get your Neovim to look like that???

    • @joseanmartinez
      @joseanmartinez  27 дней назад +1

      I have a full guide on my Neovim setup here: ruclips.net/video/6pAG3BHurdM/видео.htmlsi=ZuH80PQ1RTwWm3Uk

  • @OzzyMoto2K10
    @OzzyMoto2K10 14 дней назад

    What keyboard is that?

  • @jrreed47
    @jrreed47 29 дней назад +3

    kitty or wezterm all day

  • @integrii
    @integrii 29 дней назад +1

    TIL you can brew internal nerdfonts

  • @TBO76
    @TBO76 25 дней назад

    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!

  • @JMac___
    @JMac___ 28 дней назад

    Is there a reason you’re not using your wireless corne anymore?

    • @joseanmartinez
      @joseanmartinez  28 дней назад +1

      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.

  • @okumamusicth3602
    @okumamusicth3602 24 дня назад

    How to fullscreen?

  • @konakonaxiong7621
    @konakonaxiong7621 13 дней назад

    hmmm,我在想有没有办法一打开Ala就直接是3 个很酷的 tmux session!

  • @darkwoodmovies
    @darkwoodmovies 6 дней назад

    That keyboard setup is so hipster 🤣

  • @desireco
    @desireco 11 дней назад

    Maybe if you care about productivity you could use Fish :)

  • @siuyutpang2335
    @siuyutpang2335 28 дней назад

    oh alacritty config file has blur option now

  • @johnfrusciante8080
    @johnfrusciante8080 11 дней назад

    alacritty with tmux is slow, isn't it?

  • @ianm1837
    @ianm1837 28 дней назад +1

    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.

  • @Noah-rm4br
    @Noah-rm4br 23 дня назад

    6:30
    that was not an arrow though, that was an arabic letter..

  • @sanchit5764
    @sanchit5764 8 дней назад

    Why do i see this video the day I switched to Windows. Tx Microsoft

  • @BrazenNL
    @BrazenNL 28 дней назад

    I like ligatures, so Alacritty is out for me. Wezterm wins.

  • @danwroy
    @danwroy 28 дней назад

    UPDATE LAZY

  • @javenwang
    @javenwang 29 дней назад +1

    kitty is faster than alacritty

    • @joseanmartinez
      @joseanmartinez  29 дней назад

      Have heard good things about Kitty, Alacritty is pretty fast too!

    • @zheil9152
      @zheil9152 29 дней назад +2

      Watching people burn all of the milliseconds of “saved time” by advertising their slightly faster alternative will never not be funny

    • @fschlegelone
      @fschlegelone 29 дней назад

      nobody notices that they are both fast as fck

    • @jeroAhumada
      @jeroAhumada 29 дней назад

      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
      @fschlegelone 29 дней назад

      @@jeroAhumada hahah yeah thats why kitty introduced their own session & pane management

  • @elgreengroo
    @elgreengroo 27 дней назад +1

    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
      @joseanmartinez  27 дней назад +1

      Its for the tutorial, to make things clear and easy to follow

  • @miyu545
    @miyu545 28 дней назад

    The best way to make a MAC amazing is to use a Windows PC.

    • @jwr6796
      @jwr6796 28 дней назад

      That boots Linux.

    • @chandebrec5856
      @chandebrec5856 25 дней назад

      Can always tell the Windows users by their rendering of "Mac" in all uppercase as if it were "IBM".