Skip to content

Instantly share code, notes, and snippets.

@anushshukla
Last active October 9, 2023 05:54
Show Gist options
  • Save anushshukla/8c47715ca4708cd0197e3674e5ccf2ed to your computer and use it in GitHub Desktop.
Save anushshukla/8c47715ca4708cd0197e3674e5ccf2ed to your computer and use it in GitHub Desktop.
MacOS Dev Setup

OS developer tools

xcode-select --install

OS Package manager

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

IDE

Example: VS Code

Ref: https://brew.sh/

Version control system

brew install git

Ref: https://git-scm.com/download/mac

Setup SSH keys

ssh-keygen -t ed25519 -C "[email protected]"

Ref: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

Backend technologies

Example: Node

  • Node.js LTS
  • NVM
    • curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
    • export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
      
      Ref: NVM offical installation doc

VPN setup

Example: Open VPN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment