Skip to content

jsnmrs/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jason’s dotfiles

These are the dotfiles and scripts that I use to setup and maintain my macOS-based devices.

Step zero

On a new machine or fresh macOS install: before you can do much on the command line (like using git), Xcode Command Line Tools need to be installed and the license agreed to.

  1. Open Applications > Utilites > Terminal
  2. Install Xcode Command Line Tools xcode-select --install
  3. Click install, agree to license

Getting started, using Git

You can clone this repository wherever you want. I like to keep it in ~/Projects/dotfiles.

git clone https://github.com/jsnmrs/dotfiles.git && cd dotfiles

Establishing dotfiles

The dotfiles.sh script will run a copy all of the dotfiles (.*) in home/ into to your $HOME folder. The script creates backups of replaced files in a timestamped ~/dotfiles-YYYY-MM-DD-HHMMSS folder.

Run it: source dotfiles.sh

Install "all the things" script

The install.sh script will:

  1. Install (or update) Homebrew
  2. Install everything from Brewfile (formulae, fonts, casks, Mac App Store apps via mas)
  3. Set up Ruby via rbenv
    • Install latest stable Ruby version
    • Install global Ruby gems (bundler, github-pages)
  4. Set up Node via NVM
    • Install latest stable Node.js
    • Install global Node modules (npm-check-updates, npm-check, pa11y-ci, pa11y-ci-reporter-html)
  5. Set up Composer
    • Copy composer.json into ~/.composer
    • Run composer update
  6. Install Docksal
  7. Configure macOS dock icons and spacers
  8. Configure extensive macOS system preferences including:
    • Security & privacy settings
    • Mouse & keyboard preferences
    • Finder settings
    • Safari settings
    • Terminal & iTerm2 settings
    • System update preferences
    • And many other system-level configurations

Run it: source install.sh

Housekeeping

  • brew list – list installed Homebrew formulae, including casks
  • mas list – list installed applications from Mac App Store
  • npm list -g [--depth=0] – list globally installed node modules
  • gem query --local – list locally installed Ruby gems
  • composer global show – list globally installed Composer packages

Inspired by

About

🛠️💻 macOS dotfiles

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published