Skip to content
rc file (dotfile) management
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
arch Bump to 1.3.1, prepare for release Dec 26, 2016
bin avoid cd having issues with paths that begin with - Jul 6, 2018
homebrew Update build docs and Homebrew Jul 13, 2018
test Expand DOTFILE_DIR tilde in hooks Jul 13, 2018
.mailmap Run hooks in a defined order Nov 12, 2016 Remove myself from the package maintainers list Jul 13, 2018
LICENSE Update the copyright, assign it to thoughtbot May 5, 2014 Expand ~ in DOTFILES_DIRS Oct 27, 2017 Bump 1.3.3 Jul 13, 2018 Bump 1.3.3 Jul 13, 2018


This is a management suite for dotfiles. See the tutorial to get started quickly.

It assumes that you have a separate dotfiles directory, or are interested in creating one.

The programs provided are rcup(1), mkrc(1), rcdn(1), and lsrc(1). They are explained in the tutorial and configured using rcrc(5).


Alpine Linux:

sudo apk add rcm

Arch Linux:


wget -qO - | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/thoughtbot.list
sudo apt-get update
sudo apt-get install rcm

Fedora 22, 23, 24, 25:

sudo dnf copr enable seeitcoming/rcm
sudo dnf install rcm


sudo pkg install rcm


emerge app-admin/rcm


64-bit Korora 23:

sudo dnf copr enable seeitcoming/rcm fedora-23-x86_64
sudo dnf install rcm

Korora is similar to Fedora but with an additional version and architecture specification. Replace fedora-23-x86_64 as appropriate.

macOS with Homebrew:

brew tap thoughtbot/formulae
brew install rcm

macOS with MacPorts:

port install rcm


doas pkg_add rcm

openSUSE/RHEL/CentOS: instructions


sudo add-apt-repository ppa:martin-frost/thoughtbot-rcm
sudo apt-get update
sudo apt-get install rcm

Void Linux:

sudo xbps-install -S rcm


This uses the standard GNU autotools, so it's the normal dance:

curl -LO &&

sha=$(sha256 rcm-1.3.3.tar.gz | cut -f1 -d' ') &&
[ "$sha" = "935524456f2291afa36ef815e68f1ab4a37a4ed6f0f144b7de7fb270733e13af" ] &&

tar -xvf rcm-1.3.3.tar.gz &&
cd rcm-1.3.3 &&

./configure &&
make &&
sudo make install

For more, see INSTALL.


  • rcup(1) is the main program. It is used to install and update dotfiles, with support for tags, host-specific files, and multiple source directories.
  • rcdn(1) is the opposite of rcup(1).
  • mkrc(1) is for introducing a dotfile into your dotfiles directory, with support for tags and multiple source directories.
  • lsrc(1) shows you all your dotfiles and where they would be symlinked to. It is used by rcup(1) but is provided for your own use, too.


Pull requests welcome; see


Copyright 2013 Mike Burns. BSD license. Copyright 2014-2015 thoughtbot. BSD license.

About thoughtbot


RCM is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We adore open source software. See our other projects. We are available for hire.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.