Skip to content

Instantly share code, notes, and snippets.

@mvuorre
Forked from gadenbuie/macos-rstats-laptop-setup.md
Last active December 21, 2021 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvuorre/4a76c2e018c370c70e46b019c387e539 to your computer and use it in GitHub Desktop.
Save mvuorre/4a76c2e018c370c70e46b019c387e539 to your computer and use it in GitHub Desktop.
Setting up a macOS computer for work and play

New apple computer setup

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

  1. 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

Fonts

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

Terminal

Git

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 vuorre@gmail.com
git config --global credential.helper osxkeychain

R

Utilities

Configuration

General Things

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

Add GitHub PAT to R

library(usethis)
browse_github_pat()
# choose scopes
edit_r_environ()
# copy paste PAT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment