Setting up a new Mac
Here is a screenshot.
I will now discuss how I setup a new Mac. I use homebrew. It makes it very easy to maintain all the packages up to date.
Install homebrew and some pertinent packages
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install git
brew install git
Install Git-Credential-Manager
brew tap microsoft/git
brew install --cask git-credential-manager-core
Install powerline fonts
git clone https://github.com/powerline/fonts
cd fonts
./install.sh
Use powerline fonts in shell
Go to Terminal -> Preferences Change font to powerline I am using Roboto Mono Light Powerline 18pt
git clone git://github.com/stephenway/monokai.terminal.git
cd monokai.terminal
open monokai.terminal
(set this theme as default)
Install Zoom
brew install --cask zoom
Install Firefox
brew install --cask firefox
Install VSCode
brew install --cask visual-studio-code
Install OBSStudio
brew install --cask obs
VLC
brew install --cask vlc
wget
brew install wget
Download miniconda wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
sh Miniconda3-latest-MacOSX-x86_64.sh
Anaconda path setup in zsh
source ~/miniconda3/bin/activate
conda init zsh
Install mamba (faster than conda) conda install mamba -n base -c conda-forge
Download oh-my-zsh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
VSCode configure Python Cmd + Shift + p -> Select Python Interpreter -> Point to the miniconda one
Install LaTeX (tinyTeX)
First, install quarto using https://quarto.org/docs/get-started/
See https://danmackinlay.name/notebook/latex_installation.html for more
quarto install tool tinytex
tlmgr install pgfplots psnfss beamertheme-metropolis pgfopts type1cm cm-super underscore dvipng adjustbox collectbox collection-fontsrecommended enumitem logreq ucs xstrin sourcesanspro sourcecodespro
ln -s ~/Library/TinyTeX/bin/*/dvipng /usr/local/bin/
Searching for a missing .sty
file
`tlmgr search –global –file “/sourcesanspro.sty”``
Installing TexStudio brew install --cask texstudio
FFMPeg brew install ffmpeg
Imagemagick brew install imagemagick
Ghostscript brew install ghostscript
Install pandoc
brew install pandoc
Viewing installed packages
brew leaves > brew.txt
The content of brew.txt is:
boost
cmake
ffmpeg
fish
git
graphviz
ilmbase
imagemagick
pandoc
r
rtmpdump
swig
vim
wget
brew list --cask > casks.txt
The content of casks.txt is:
anydesk
arduino
audacity
firefox
google-chrome
inkscape
keycastr
mactex
notion
obs
pdf-expert
pycharm
rstudio
simplenote
texstudio
visual-studio-code
vlc
zoom
Installing standard Python packages using mamba
mamba install numpy scipy matplotlib pandas jupyter ipython seaborn rich -c conda-forge
Periodically updating all packages mamba update --all -c conda-forge