| 1 | rcm |
| 2 | === |
| 3 | |
| 4 | This is a management suite for dotfiles. **See [the tutorial][rcm7] to get |
| 5 | started quickly.** |
| 6 | |
| 7 | It assumes that you have a separate dotfiles directory, or are |
| 8 | interested in creating one. |
| 9 | |
| 10 | The programs provided are [rcup(1)][rcup1], [mkrc(1)][mkrc1], [rcdn(1)][rcdn1], |
| 11 | and [lsrc(1)][lsrc1]. They are explained in [the tutorial][rcm7] and configured |
| 12 | using [rcrc(5)][rcrc5]. |
| 13 | |
| 14 | Installation |
| 15 | ------------ |
| 16 | |
| 17 | Alpine Linux: |
| 18 | |
| 19 | sudo apk add rcm |
| 20 | |
| 21 | Arch Linux: |
| 22 | |
| 23 | https://aur.archlinux.org/packages/rcm/ |
| 24 | |
| 25 | Debian (see further down for Ubuntu): |
| 26 | |
| 27 | sudo wget -q https://apt.thoughtbot.com/thoughtbot.gpg.key -O /etc/apt/trusted.gpg.d/thoughtbot.gpg |
| 28 | echo "deb https://apt.thoughtbot.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/thoughtbot.list |
| 29 | sudo apt-get update |
| 30 | sudo apt-get install rcm |
| 31 | |
| 32 | Fedora: |
| 33 | |
| 34 | sudo dnf install rcm |
| 35 | |
| 36 | FreeBSD: |
| 37 | |
| 38 | sudo pkg install rcm |
| 39 | |
| 40 | Gentoo: |
| 41 | |
| 42 | emerge app-admin/rcm |
| 43 | |
| 44 | Korora: |
| 45 | |
| 46 | 64-bit Korora 23: |
| 47 | |
| 48 | sudo dnf copr enable seeitcoming/rcm fedora-23-x86_64 |
| 49 | sudo dnf install rcm |
| 50 | |
| 51 | Korora is similar to Fedora but with [an additional version and architecture |
| 52 | specification][copr-fedora-korora]. Replace `fedora-23-x86_64` as |
| 53 | appropriate. |
| 54 | |
| 55 | [copr-fedora-korora]: https://kororaproject.org/about/news/when-adding-a-copr-repo-to-korora-fails |
| 56 | |
| 57 | macOS with Homebrew: |
| 58 | |
| 59 | brew install rcm |
| 60 | |
| 61 | macOS with MacPorts: |
| 62 | |
| 63 | port install rcm |
| 64 | |
| 65 | OpenBSD: |
| 66 | |
| 67 | doas pkg_add rcm |
| 68 | |
| 69 | openSUSE/RHEL/CentOS: [instructions](http://software.opensuse.org/download.html?project=utilities&package=rcm) |
| 70 | |
| 71 | Ubuntu (19.04 or later): |
| 72 | |
| 73 | sudo apt update |
| 74 | sudo apt install rcm |
| 75 | |
| 76 | Ubuntu (12.04, 14.04, 16.04, 18.04, or 18.10): |
| 77 | |
| 78 | sudo apt-get install software-properties-common |
| 79 | sudo add-apt-repository ppa:martin-frost/thoughtbot-rcm |
| 80 | sudo apt-get update |
| 81 | sudo apt-get install rcm |
| 82 | |
| 83 | Void Linux: |
| 84 | |
| 85 | sudo xbps-install -S rcm |
| 86 | |
| 87 | Elsewhere: |
| 88 | |
| 89 | This uses the standard GNU autotools, so it's the normal dance: |
| 90 | |
| 91 | curl -LO https://thoughtbot.github.io/rcm/dist/rcm-1.3.4.tar.gz && |
| 92 | |
| 93 | # Use sha256sum with GNU coreutils, sha256 on BSD and macOS |
| 94 | sha=$(sha256sum rcm-1.3.4.tar.gz | cut -f1 -d' ') && |
| 95 | [ "$sha" = "9b11ae37449cf4d234ec6d1348479bfed3253daba11f7e9e774059865b66c24a" ] && |
| 96 | |
| 97 | tar -xvf rcm-1.3.4.tar.gz && |
| 98 | cd rcm-1.3.4 && |
| 99 | |
| 100 | ./configure && |
| 101 | make && |
| 102 | sudo make install |
| 103 | |
| 104 | For more, see `INSTALL`. |
| 105 | |
| 106 | Programs |
| 107 | -------- |
| 108 | |
| 109 | * [rcup(1)][rcup1] is the main program. It is used to install and update |
| 110 | dotfiles, with support for tags, host-specific files, and multiple source |
| 111 | directories. |
| 112 | * [rcdn(1)][rcdn1] is the opposite of [rcup(1)][rcup1]. |
| 113 | * [mkrc(1)][mkrc1] is for introducing a dotfile into your dotfiles directory, |
| 114 | with support for tags and multiple source directories. |
| 115 | * [lsrc(1)][lsrc1] shows you all your dotfiles and where they would be |
| 116 | symlinked to. It is used by [rcup(1)][rcup1] but is provided for your own |
| 117 | use, too. |
| 118 | |
| 119 | [rcup1]: http://thoughtbot.github.io/rcm/rcup.1.html |
| 120 | [mkrc1]: http://thoughtbot.github.io/rcm/mkrc.1.html |
| 121 | [rcdn1]: http://thoughtbot.github.io/rcm/rcdn.1.html |
| 122 | [lsrc1]: http://thoughtbot.github.io/rcm/lsrc.1.html |
| 123 | [rcm7]: http://thoughtbot.github.io/rcm/rcm.7.html |
| 124 | [rcrc5]: http://thoughtbot.github.io/rcm/rcrc.5.html |
| 125 | |
| 126 | Support |
| 127 | ------- |
| 128 | |
| 129 | Pull requests welcome; see `CONTRIBUTING.md`. |
| 130 | |
| 131 | License |
| 132 | ------- |
| 133 | |
| 134 | Copyright 2013 Mike Burns. BSD license. |
| 135 | Copyright 2014-2015 thoughtbot. BSD license. |
| 136 | |
| 137 | About thoughtbot |
| 138 | ---------------- |
| 139 | |
| 140 |  |
| 141 | |
| 142 | RCM is maintained and funded by thoughtbot, inc. |
| 143 | The names and logos for thoughtbot are trademarks of thoughtbot, inc. |
| 144 | |
| 145 | We adore open source software. |
| 146 | See [our other projects][community]. |
| 147 | We are [available for hire][hire]. |
| 148 | |
| 149 | [community]: https://thoughtbot.com/community?utm_source=github |
| 150 | [hire]: https://thoughtbot.com/hire-us?utm_source=github |