Skip to content
Go to file


These are my dotfiles. Take anything you want, but at your own risk.

It mainly targets macOS systems, but it works on at least Ubuntu as well.


Packages Overview


On a sparkling fresh installation of macOS:

sudo softwareupdate -i -a
xcode-select --install

The Xcode Command Line Tools includes git and make (not available on stock macOS). Now there are two options:

  1. Install this repo with curl available:
bash -c "`curl -fsSL`"

This will clone or download, this repo to ~/.dotfiles depending on the availability of git, curl or wget.

  1. Alternatively, clone manually into the desired location:
git clone ~/.dotfiles

Use the Makefile to install everything listed above, and symlink runcom and config (using stow):

cd ~/.dotfiles

The installation process in the Makefile is tested on every push and every week in this GitHub Action.


  • dotfiles dock (set Dock items)
  • dotfiles macos (set macOS defaults)
  • Mackup
    • Log in to Dropbox (and wait until synced)
    • ln -s ~/.config/mackup/.mackup.cfg ~ (until #632 is fixed)
    • mackup restore

The dotfiles command

$ dotfiles help
Usage: dotfiles <command>

    clean            Clean up caches (brew, npm, gem, rvm)
    dock             Apply macOS Dock settings
    edit             Open dotfiles in IDE (code) and Git GUI (stree)
    help             This help message
    macos            Apply macOS system defaults
    test             Run tests
    update           Update packages and pkg managers (OS, brew, npm, gem)


You can put your custom settings, such as Git credentials in the system/.custom file which will be sourced from .bash_profile automatically. This file is in .gitignore.

Alternatively, you can have an additional, personal dotfiles repo at ~/.extra. The runcom .bash_profile sources all ~/.extra/runcom/*.sh files.

Additional Resources


Many thanks to the dotfiles community.