Skip to content

Latest commit

 

History

History
104 lines (70 loc) · 1.72 KB

README.md

File metadata and controls

104 lines (70 loc) · 1.72 KB

.macos

Setup scripts and links for web development on a new mac.

Homebrew

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

Iterm 2

brew cask install iterm2
Shell integration

You can enable better integration between your shell and iTerm2.

iTerm2 > Install Shell Integration

Then, add the following to your .zshrc: source ~/.iterm2_shell_integration.zsh.

Git

brew install git

ZSH

brew install zsh
Update default shell
  1. bash sudo vim /etc/shells
  2. Add new line: /usr/local/bin/zsh
  3. Run chsh -s /usr/local/bin/zsh
  4. Restart the terminal and run bash echo $SHELL and confirm it is zsh
Installing OhMyZsh
sh -c “$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
brew install romkatv/powerlevel10k/powerlevel10k
  • Add the following to .zshrc file:
  • source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme

ZSH syntx hightlighting

brew install zsh-syntax-highlighting

NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/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"

Restart the terminal and type command -v nvm to confirm it is installed

NodeJS

nvm install node  #install latest version
nvm install 6.14.4 # or 10.10.0, 8.9.1, etc

Docker

brew cask install docker

tldr

brew install tldr

VSCode

brew cask install visual-studio-code