Terminal Configuration#
Terminal Setup#
Xcode#
Install Xcode using the built-in Terminal
app
XCode
XCode
is an essential tool for any developer on macOS. It provides
a suite of tools for developing software on Apple platforms. You must
have XCode
installed before you can install other tools like Homebrew
.
Homebrew#
Install Homebrew using the built-in Terminal
app
Homebrew calls itself "The missing package manager for macOS" and is an essential tool for any developer.
Homebrew
Homebrew
is an essential tool for any developer on macOS. It provides
a streamlined way to install software packages and libraries on your
system. You must have Homebrew
installed before you can install other
tools mentioned in this guide.
iTerm2#
Note
If you're using the dotfile dependency installation method, iTerm2 is installed automatically via Homebrew - see the dependencies section for more information.
Install iTerm2
iTerm2 is an open source replacement for Apple's Terminal. It's highly customizable and comes with a lot of useful features.
Terminal Customization#
Hotkey Shortcut#
Create a custom hot-key to launch iTerm2 from
anywhere: (^
+ ⌥
+ ⌘
+ i
)
iTerm2 Preferences
->Keys
->Hotkey
->Create dedicated hotkey window
- Set iTerm2 to open (hidden) at login:
System Preferences
->Users & Groups
->Login Items
- If not already, set all profiles to use the
MesloLGS NF
font iniTerm2 Preferences
->Profile
->Text
->Font
Note
The MesloLGS Nerd Font
font is included in the dotfiles
> dependency installation automatically.
If you'd like to install it manually, you can do so via homebrew:
Zsh#
When leveraging the dotfiles
from this project, the Z shell (zsh) is set up
with a number of frameworks and plugins to make your terminal experience more
productive and enjoyable:
- Frameworks and Themes
- ohmyzsh/oh-my-zsh - The framework for managing your zsh shell
- romkatv/powerlevel10k - A powerful OhMyZSH theme and prompt
- OhMyZsh Plugins
- oh-my-zsh/git - Git aliases and functions
- oh-my-zsh/dotenv - Loads environment variables from
.env
for the current directory - oh-my-zsh/macos - macOS-specific configuration for zsh
- oh-my-zsh/z - Tracks your most used directories, based on 'frecency'
- oh-my-zsh/web-search - Search the web from the terminal
- oh-my-zsh/nvm -nvm (the Node Version Manager) plugin
- oh-my-zsh/asdf - asdf (the extendable version manager) plugin
- zdharma-continuum/fast-syntax-highlighting - Syntax highlighting for zsh
- zsh-users/zsh-autosuggestions - Fish-like autosuggestions for zsh
- zsh-users/zsh-completions - Additional completion definitions for zsh