macOS terminal setup to boost your productivity

This post is not intended to show my complete terminal setup, but to provide you with the best tools out there, which I’ve found after some research and experience. I love doing stuff in the terminal and it’s a major part of my work day as a web developer. If you do too, then I hope you’ll find some useful things here.


  • iTerm2

    Free Mac Website

    iTerm2 is a replacement for Small Terminal iconTerminal and the successor to Small iTerm iconiTerm. It works on Macs with macOS 10.10 or newer. iTerm2 brings the terminal into the modern age with features you never knew you always wanted. It's by far the most powerful and flexible terminal app you can use on a Small macOS iconmacOS computer.
    To make it more beautiful with a nice and polish UI, I use the Nord color palette with Powerlevel9k and the Hack font in size 12pt. Alternatively, you can use this Material Design color palette, the Dracula theme or the famous Solarized color palette and the Source Code Pro font by Adobe.

     

    iTerm2 icon
  • zsh

    Free Linux BSD Website

    The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a powerful command interpreter for shell scripting. Zsh is an extended Bourne shell with a large number of improvements, including some features of Small GNU Bourne Again SHell iconGNU Bourne Again SHell, ksh, and tcsh.
    Alternatively, you can use Small fish iconfish (Friendly Interactive SHell) which is an attempts to be more interactive and user-friendly than former shells. The goal is to give the user a rich set of powerful features.

     

    zsh icon
  • Oh My Zsh

    Free Mac OS X Windows Linux BSD zsh Website

    Now that we’ve got Small zsh iconzsh up and running, it’s time to customize it! You’re probably ready to fire up Small Vim iconVim or Small GNU Emacs iconGNU Emacs (or Small GNU nano iconGNU nano, I don't judge) and start editing config files but wait for a second, I’ll try to save you some time. Oh-my-zsh is a set of functions, auto-complete helpers, and other useful stuff. Also, it is a very good framework for further customizations.

    Oh-my-zsh comes with a handful of plugins for different apps – Small Git iconGit, Small Ruby iconRuby, Small Ruby on Rails iconRuby on Rails, gem and a lot more. Every plugin has a set of aliases, auto-complete helpers and functions. For example, you can type gst for git status, or type rdbm for rake db:migrate, db:test:clone and so on. Plenty of good stuff for free. Also, it has tons of themes pre-installed. Check out the entire list of themes with screenshots on the Small GitHub iconGitHub repository. Personally, I use Agnoster.

     

    Oh My Zsh icon
  • Zsh Syntax Highlighting

    Free Mac OS X Windows Linux zsh Website

    This is a plugin for Small zsh iconzsh whose purpose is to bring Small fish iconfish shell-like syntax highlighting to the Z shell. It enables highlighting of commands whilst they are typed at a Small zsh iconzsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors.

     

  • Zsh Autosuggestions

    Free Mac OS X Windows Linux zsh Website

    This is a plugin for Small zsh iconzsh whose purpose is to bring Small fish iconfish shell-like autosuggestions for the Z shell. It suggests commands as you type, based on command history.

     

  • fzf

    Free Mac OS X Windows Linux Vim Website

    Small fzf iconfzf is a general-purpose command-line fuzzy finder. It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc. It's pretty powerful, but alternatively, you can try Small fzy iconfzy that claims to be a "better fuzzy finder".

     

    fzf icon
  • k

    Free Mac OS X Windows Linux zsh Website

    k is a Small zsh iconzsh script / plugin to make directory listings more readable, adding a bit of color and some git status information on files and directories.

     

    k icon
  • z - jump around

    Free Mac OS X Windows Linux zsh Website

    z is a Small zsh iconzsh plugin that tracks your most used directories, based on frecency. After a short learning phase, z will take you to the most frecent directory that matches ALL of the regexes given on the command line, in order. For example, z foo bar would match /foo/bar but not /bar/foo.

    Frecency is a portmanteau of 'recent' and 'frequency'. It is a weighted rank that depends on how often and how recently something occurred. As far as I know, Mozilla came up with the term.

     

  • Prezto

    Free Mac OS X Linux Android zsh Website

    Prezto is the configuration framework for Small zsh iconzsh. It enriches the command line interface environment with sane defaults, aliases, functions, auto-completion, and prompt themes. It's an alternative to the famous Small Oh My Zsh iconOh My Zsh.

     

  • Homebrew

    Free Mac OS X Website

    Homebrew is a free and open-source software package management system that simplifies the installation of software on Small macOS iconmacOS operating system. Homebrew installs packages to their own directory and then symlinks their files into /usr/local. Homebrew won’t install files outside its prefix, and you can place a Homebrew installation wherever you like.

     

    Homebrew icon
  • Cakebrew

    Free Mac OS X Website

    Cakebrew is the most convenient way to use Small Homebrew iconHomebrew for your daily tasks. It does for Homebrew what Small Synaptic iconSynaptic does to Linux package managers. It adds a user interface that can search for formulae, install, uninstall and upgrade formulae, tap and untap repos, update Homebrew and run the brew cleanup tool. You can also use this website to search and discover new formulas.

     

    Cakebrew icon
  • MacPorts

    Free Mac OS X Website

    The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, Small X11 iconX11 or Aqua based open-source software on Small macOS iconmacOS.

     

    MacPorts icon
  • Fink

    Free Mac OS X Website

    The Fink project wants to bring the full world of Unix Open Source software to Darwin and Small macOS iconmacOS. We modify Unix software so that it compiles and runs on Small macOS iconmacOS ("port" it) and make it available for download as a coherent distribution. Fink uses Small Debian iconDebian tools like dpkg and apt-get to provide powerful binary package management. You can choose whether you want to download precompiled binary packages or build everything from source.

     

    Fink icon

I don't use all these tools: for example, I only use Small Homebrew iconHomebrew and don't have Small MacPorts iconMacPorts and Small Fink iconFink installed on my computer. I also don't use Prezto since I personally prefer Small Oh My Zsh iconOh My Zsh. I've tested Small Cakebrew iconCakebrew a while ago and it's a good piece of software but I have a preference for the command line so I don't use it anymore. So, that's all, here are all the tools I use to boost my productivity when I'm in the terminal (very often).



Comments on macOS terminal setup to boost your productivity

Echo echo ... Feels empty in here

Maybe you want to be the first to submit a comment?

Sign up to comment, it's simple!