Skip to content

Instantly share code, notes, and snippets.

@pedro-mass
Last active June 24, 2022 04:51
Show Gist options
  • Save pedro-mass/0f1aa373a17500fd229cdbf76e2b4dbc to your computer and use it in GitHub Desktop.
Save pedro-mass/0f1aa373a17500fd229cdbf76e2b4dbc to your computer and use it in GitHub Desktop.

New Machine setup

based on: https://www.robinwieruch.de/mac-setup-web-development/

Home-brew

Install GUI applications (read more about these in GUI Applications):

brew install --cask \
  google-chrome  \
  firefox \
  iterm2 \
  visual-studio-code \
  rectangle \
  slack \
  vlc \
  calibre \
  maccy \
  appcleaner \
  postman \
  fig \
  background-music \
  studio-3t \
  cakebrew \
  xnviewmp \
  flux

Install terminal applications

brew install \
  wget \
  exa \
  git \
  nvm \
  pnpm \
  graphicsmagick \
  htop \
  tldr \
  ncdu \
  tree \
  starship

base configure apps

  • Built-in mac apps
    • Mission Control
      • off: Automatically rearrange Spaces based on most recent use
    • Dock & Menu Bar
      • Dock & Menu Bar
        • grab from article
      • Bluetooth
        • show in menu bar
      • Focus
        • always show
      • sound
        • always show
      • Battery
        • show percentage
      • Clock
        • ON: display the time with seconds
  • GUI apps
    • Rectangle
      • use Rectangle settings, not Spectacle
      • preferences
        • Repeated commands: cycle 1/2, 2/3, ...
    • iterm2
      • iterm2 Menu
        • ENABLE: Make iterm2 Default Term
      • preferences
        • Profiles -> Window
          • transparency: 30
          • style: full Screen
          • screen: main screen
        • Profiles -> Advanced
          • semantic history -> Open with editor -> VS code
        • Profiles -> Keys
          • configure hotkey window
          • hotkey: option + space
        • Open new split pane with current directory
        • Natural Text Editing
    • Marcy
      • preferences
        • ON: Launch at login 
        • ON: check for updates automatically
    • chrome
      • extensions
        • redux-dev-tools
        • react-dev-tools

configure environment

  • install oh-my-zsh: https://ohmyz.sh/#install
  • setup gh
    • sudo chmod -R 777 ~/.config
    • gh auth login
      • Github.com
      • HTTPS
      • Y: authenticate Git with Github credentials
      • Login in web browser
      • Authorize Github
  • delete .zshrc
    • avoids collision with the next steps
  • clone and run https://github.com/pedro-mass/.dotfiles
  • nvm setup
    • nvm install node
    • nvm alias default node
    • default packages
    • setup auto-switching
    • test that it works

configure editor

  • vscode
    • signin with GitHub
    • extensions
    • settings
      • SonarLint
        • install JRE

get code

  • make folder ~/dev/work
  • in ~/dev/work
    • echo 14.15.4 > .nvmrc
  • setup ssh
    • ssh-keyscan github.com >> ~/.ssh/known_hosts

configure other apps

  • studio 3T
  • rocket
    • preferences
      • ON: start Rocket at login
      • ON: use double key trigger
  • bartender
    • General
      • launch Bartender at login
    • Menu Bar Layout
      • show menu bar items
        • wifi
        • bluetooth
        • sound
        • now playing
        • fantastical
      • show for updates
        • battery
          • if less than 50
  • fantastical
    • enable accounts
  • zoom
    • general
      • OFF: ask me to confirm when I leave a meeting
      • ON: show my meeting duration
      • ON: stop my video and audio when my display is off or screen saver begins
    • video
      • ON: adjust for low light
      • ON: stop my video when joining a meeting
    • audio
      • ON: mute my mic when joining a meeting
    • background & effects
      • choose a background
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment