Skip to content

maxonchickdev/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

  1. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew
xcode-select --install
  1. Clone repo into new hidden directory
# Use SSH (if set up...)
git clone git@github.com:maxonchickdev/dotfiles.git

# Use HTTPS
git clone https://github.com/maxonchickdev/dotfiles.git
  1. Create symlinks in the Home directory to the real file in the repo
ln -s ~/dotfiles/.zshrc ~/.zshrc
ln -s ~/dotfiles/.gitconfig ~/.gitconfig
ln -s ~/dotfiles/.nvmrc ~/.nvmrc
  1. Install nvm
# Using curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

# Or wget
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
  1. Install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

source ~/.zshrc
  1. Install Homebrew, followed by the software listed in the Brewfile
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew bundle --file ~/Brewfile
  1. Setup mac os settings
chmod +x ./os.sh
sudo ./os.sh