DEV Community

Mr F.
Mr F.

Posted on • Edited on

Awesome Terminal upgrades - Part Four: Make your your macOS terminal look slick

demo

Install Homebrew

The missing package manager for macOS (or Linux)

We will be using Homebrew to manage everything for us, if you don't have it installed, go ahead and do it now!

echo “[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion” >> ~/.bash_profile
Enter fullscreen mode Exit fullscreen mode

Install Fira Code

Monospaced font with programming ligatures

brew tap caskroom/fonts
brew cask install font-fira-code
Enter fullscreen mode Exit fullscreen mode

Fira Code

Install Starship

Starship is the minimal, blazing fast, and extremely customizable prompt for any shell!
The prompt shows information you need while you’re working, while staying sleek and out of the way.

brew install starship
Enter fullscreen mode Exit fullscreen mode

In your .bashrc or .zshrc file (swap bash or zsh accordingly):

eval "$(starship init bash)"
Enter fullscreen mode Exit fullscreen mode

starship

Install One Dark theme for iTerm2

A dark syntax theme

wget https://raw.githubusercontent.com/nathanbuchar/atom-one-dark-terminal/master/scheme/iterm/One%20Dark.itermcolors
Enter fullscreen mode Exit fullscreen mode

You can choose any colour scheme you like, my preferred is One Dark which was originally a theme for Atom.

I chose to use the port made by Nathan Buchar because it's the most actively maintained for iTerm.

one dark

Colours

Open preferences in iTerm and navigate to Profiles > Colors then in bottom right, from the dropdown color presets choose import... and import the file we downloaded.

presets

And that's it, we now have a nicely styled and customised terminal.

Top comments (2)

Collapse
 
moopet profile image
Ben Sinclair

The missing package manager for macOS (or Linux)

I'm aware that linuxbrew exists, but I wouldn't say it was a "missing package manager". MacOS and Windows are the only mainstream OSs that don't come with a package manager built in.

Collapse
 
0xdonut profile image
Mr F.

I took the quote directly from their website. I agree with you otherwise. I guess they are just able to provide more packages that you may not find otherwise.