The basic steps are:
- Configuration
- ZSH
- SSH
- Git
- Applications
- Brew
- iTerm2
- R/RStudio
- Python (mambaforge)
- VSCode
- Docker
First things first, let's install Brew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Now let's use Brew to install iTerm2 (a better replacement for Terminal)
brew install --cask iterm2
We'll use iTerm2 for all subsequent Terminal commands.
MacOS typically doesn't have git installed. If you run the following command, you'll be asked to install git from command-line-tools.
git --version
I also like to install OhMyZSH. It helps make ZSH easier to use.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
OhMyZSH also supports themes and my favorite theme is Powerlevel10k.
Installing this theme is a bit tricky, but not too hard.
In iTerm2, navigate to the home diretory and clone the repo.
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Now you need to edit the .zshrc file. This file contains many of the configurations and environment variables that are loaded as part of the ZSH shell. Assuming you're still within your home directory.
nano ~/.zshrc
Look for the line ZSH_THEME="robbyrussell"
and change it to ZSH_THEME="powerlevel10k/powerlevel10k"
. Save the changes.
Restart iTerm2 and you should be prompted to begin setting up the theme. This will include the installation of the font Meslo Nerd Font
. Definitely install this font.
Install R from CRAN.
Install RStudio from Posit.
Install VSCode from here.
Install Docker from here.