General Setup and App Install on MacOS Catalina (10.15.7)
Open up /Applications/Utilities/Terminal.app
Mac OS Command Line toolkit has a bunch of utilities, and compilers. All of these commands come out of the box for Linux.
This check isn't that reliable.
xcode-select -pTry one of the commands below on a fresh install of MacOS Catalina this should prompt the install of command line tools. if its not installed
git
make
GCC#this might not work anymore
xcode-select --installNOTE
You might get this error
Can’t install the software because it is not currently available from the Software Update server.
Download from Apple Developers Site
Sign in with your Apple ID and download from Apple's Developers site.
Installing Homebrew and CLI tool for installing applications.
It also prompts to install Command Line Tools if you don't have it installed.
brew --versionInstall Command
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"brew update
brew upgrade
brew cleanup
#list brew
brew list
brew list --caskMost Popular installs
brew install \git \wget#browsers
brew cask install \google-chrome \firefox \opera
#apps
brew cask install \visual-studio-code \rectangle \figma
#OPTIONAL
#Other Text Editors
brew cask install \atom \sublime-text
#Other App if you want
brew cask install \slack \spotify \zoom \vlc \iterm2 \postman \postgres
Catalina comes with zsh as the default shell.
check version
zsh --version
which zshbrew install zsh
chsh -s /bin/zshIf prompted enter 0
Better to install node with nvm instead of homebrew. Allows us the flexibility to easily update node, have multiple version as well.
Allow you to manage your node version
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bashrestart terminal
nvm --versionif you're comand nvm isn't recognized try adding the code to your shell profile
we're using zsh so you would add it to.
nano ~/.zshrc
#.zshrc
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- ~/.bash_profile
- ~/.profile
- ~/.bashrc
nvm install nodenvm use nodenode -v && npm -vLater down the road if you want to update NVM
nvm install node --reinstall-packages-from=nodehttps://nodejs.org/en/download/releases/ Find node vesion
nvm install xx.xx
nvm use xx.xx
#list node version
nvm lsAnd to set the default:
nvm alias default xx.xx
#list nvm
nvm alias default xx.xx
#check version
node -v && npm -vVersion Control
Add Default User Info
git --version
git config --global user.name "Your Name"
git config --global user.email "youremail@email.com"Create a SSH Key
ssh-keygensave as /home/username/.ssh/id_rsa
Type in passphrase this will be extra password for security make sure you remember this or store it somewhere safe.