This file describes how I set up an apple computer with the tools I like and use. This tries to be succinct and quick, using homebrew to install as much as possible from the command line.
Apps
- Fire up the terminal and install homebrew
Then go ahead and install these apps with homebrew (I have no idea what --cask
does but it seems necessary for some)
brew install rectangle alfred alt-tab slack zoom visual-studio-code docker
brew install --cask firefox
brew install --cask iterm2
brew install --cask microsoft-office
brew tap homebrew/cask-fonts
brew install svn
brew install --cask \
font-fantasque-sans-mono font-fantasque-sans-mono-nerd-font \
font-noto-sans font-noto-serif font-noto-mono font-noto-mono-for-powerline font-noto-emoji \
font-hasklug-nerd-font font-anonymice-nerd-font font-meslo-lg-nerd-font \
font-fira-code font-fira-mono font-fira-sans font-fira-sans-condensed \
font-pt-mono font-pt-sans font-pt-sans-narrow font-pt-serif font-pt-sans-caption font-pt-serif-caption
- Pick up iTerm2 color themes from https://iterm2colorschemes.com/ and install
- Install oh my zsh https://ohmyz.sh/
- Use e.g. powerlevel10k oh my zsh theme https://github.com/romkatv/powerlevel10k#oh-my-zsh
- https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
brew install exa
This stores git password in MacOS keychain--I guess this works but don't know how or how secure it is.
git config --global user.name "Matti Vuorre"
git config --global user.email [email protected]
git config --global credential.helper osxkeychain
-
R
- Pick the correct package at https://cran.r-project.org/
-
RSwitch
-
RStudio
- https://dailies.rstudio.com/ or via RSwitch
-
Use faster mac provided BLAS (20x faster)
-
Use my .Rprofile -
cd ~
thencurl URL -o .Rprofile
and get URL from here https://github.com/mvuorre/dotfiles/blob/main/.Rprofile
Stuff I've done that probably doesn't need to be done in any order.
- Turn on Dock hiding
- Rename computer: System Prefs > Sharing > Computer Name
- Add RSwitch to Login Items
- System Preferences > Accessibility
- Zoom > ☑️ Use scroll gesture with Control keys
- Enable Hover Text > ☑️ Enable Hover Text with Command
library(usethis)
browse_github_pat()
# choose scopes
edit_r_environ()
# copy paste PAT