/dotfiles

Get started with your own dotfiles.

Primary LanguageShellMIT LicenseMIT

Introduction

This repository serves as my way to help me setup and maintain my Mac. It takes the effort out of installing everything manually. Everything needed to install my preferred setup of macOS is detailed in this readme. Feel free to explore, learn and copy parts for your own dotfiles. Enjoy!

📺 - Watch the screencast on Laracasts

A Fresh macOS Setup

These instructions are for setting up new Mac devices.

Backup your data

If you're migrating from an existing Mac, you should first make sure to backup all of your existing data. Go through the checklist below to make sure you didn't forget anything before you migrate.

  • Did you commit and push any changes/branches to your git repositories?
  • Did you remember to save all important documents from non-iCloud directories?
  • Did you save all of your work from apps which aren't synced through iCloud?
  • Did you remember to export important data from your local database?

Setting up your Mac

After backing up your old Mac you may now follow these install instructions to setup a new one.

  1. Update macOS to the latest version through system preferences

  2. Generate a new public and private SSH key by running:

    curl https://raw.githubusercontent.com/veekthoven/dotfiles/HEAD/ssh.sh | sh -s "<your-email-address>"
  3. Clone this repo to ~/.dotfiles with:

    git clone git@github.com:veekthoven/dotfiles.git ~/.dotfiles
  4. Run the installation with:

    ~/.dotfiles/fresh.sh
  5. Restart your computer to finalize the process

Your Mac is now ready to use!

💡 You can use a different location than ~/.dotfiles if you want. Make sure you also update the reference in the .zshrc file.