DEV Community

loading...

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

0xdonut profile image Mr F. Updated on ・2 min read

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

Install Fira Code

Monospaced font with programming ligatures

brew tap caskroom/fonts
brew cask install font-fira-code

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

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

eval "$(starship init bash)"

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

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.

Discussion (2)

pic
Editor guide
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. Author

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.