All Projects → msanders → Cider

msanders / Cider

Licence: mit
Hassle-free bootstrapping with Homebrew.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cider

Dotfiles
vim, zsh, git, homebrew, nvm, neovim - my whole world
Stars: ✭ 2,217 (+158.39%)
Mutual labels:  dotfiles, homebrew
.dotfiles
💻 My settings for macOS, kitty, zsh, nvim, tmux, and more 🛠
Stars: ✭ 44 (-94.87%)
Mutual labels:  dotfiles, homebrew
Yadm
Yet Another Dotfiles Manager
Stars: ✭ 2,982 (+247.55%)
Mutual labels:  dotfiles, bootstrap
Snowsaw
A lightweight, plugin-driven and dynamic dotfiles bootstrapper.
Stars: ✭ 83 (-90.33%)
Mutual labels:  dotfiles, bootstrap
Dotfiles
paul's shell, git, etc config files. also homebrew, migration setup. good stuff.
Stars: ✭ 3,910 (+355.71%)
Mutual labels:  dotfiles, homebrew
Vim Bootstrap
Vim Bootstrap is a generator that provides a simple method of generating a configuration for vim / neovim.
Stars: ✭ 1,870 (+117.95%)
Mutual labels:  dotfiles, bootstrap
Clean-macOS
💻 A simple script to setup a clean environment on macOS
Stars: ✭ 155 (-81.93%)
Mutual labels:  dotfiles, homebrew
Dotfiles
🌷
Stars: ✭ 209 (-75.64%)
Mutual labels:  dotfiles, homebrew
Dotfiles
Setup and install scripts for a new machine + dotfiles for various apps. Linux, Mac, and Mac (Amazon specific) branches are included.
Stars: ✭ 382 (-55.48%)
Mutual labels:  dotfiles, homebrew
dotfiles
🏠 dotfiles for my macOS environment
Stars: ✭ 17 (-98.02%)
Mutual labels:  dotfiles, homebrew
Dotfiles
Get started with your own dotfiles.
Stars: ✭ 1,094 (+27.51%)
Mutual labels:  dotfiles, homebrew
Dotfiles
Dotfiles for macOS
Stars: ✭ 678 (-20.98%)
Mutual labels:  dotfiles, homebrew
Strap
👢 Bootstrap your macOS development system.
Stars: ✭ 1,813 (+111.31%)
Mutual labels:  homebrew, bootstrap
Emacs Bootstrap
Your on-the-fly Emacs development environment.
Stars: ✭ 147 (-82.87%)
Mutual labels:  dotfiles, bootstrap
dotfiles-legacy
. .✧ · 🌎 ✷ ✫ 🌙 · ✵ 🚀✵ * ✵ · 🌌✫ ✷ · ✧ .
Stars: ✭ 15 (-98.25%)
Mutual labels:  dotfiles, homebrew
Jarvis
Dotfiles for a powerful, web development-focused environment powered by Neovim, iTerm2, tmux, and zsh
Stars: ✭ 617 (-28.09%)
Mutual labels:  dotfiles, homebrew
Dotfiles
Everyday use .dotfiles
Stars: ✭ 23 (-97.32%)
Mutual labels:  dotfiles, homebrew
Dotfiles
My dotfiles 💻 🔨
Stars: ✭ 25 (-97.09%)
Mutual labels:  dotfiles
Select2 Bootstrap Theme
A Select2 v4 Theme for Bootstrap 3
Stars: ✭ 841 (-1.98%)
Mutual labels:  bootstrap
Ax5ui Uploader
jQuery file uploader, HTML5(IE9+, FF, Chrome, Safari) - http://ax5.io/ax5ui-uploader/
Stars: ✭ 25 (-97.09%)
Mutual labels:  bootstrap

Deprecation Notice

Cider is no longer actively maintained, and has been superseded by a new tool, zero.sh.

Start with a clean slate

Cider is a simple wrapper for Homebrew and Homebrew Cask that allows you to save your setup across different machines. This lets you to restore a backup without having to deal with the mess that was the state of your previous installation, or painstakingly babysit the process step-by-step.

Simply run the following on a new machine:

git clone [YOUR_REPO] ~/.cider
cider restore

... and you'll be back up and running, with all of your applications and command line utilities re-installed (and configurations restored).

In addition to Homebrew, Cider also supports managing your user defaults, restoring symlinks, and running scripts to conveniently manage other settings such as your dotfiles.

Installation

Cider is available directly from PyPI:

pip install -U cider

Configuration

All configuration files are stored in the ~/.cider directory as JSON. For instance, here's an example bootstrap file:

{
    "after-scripts": [
        "brew linkapps"
    ],
    "casks": [
        "adobe-creative-cloud",
        "dropbox",
        "firefox",
        "flash",
        "flux",
        "github",
        "google-chrome",
        "google-hangouts",
        "heroku-toolbelt",
        "iterm2",
        "mplayerx",
        "sublime-text",
        "transmission",
    ],
    "formulas": [
        "brew-cask",
        "emacs",
        "fish",
        "git",
        "go",
        "macvim --overwrite-system-vi",
        "python",
        "python3",
        "xctool"
    ],
	"icons": {
		"iTerm": "https://dribbble.com/shots/1702947-iTerm-Replacement-Icon/attachments/271548"
	},
	"symlinks": {
		"bash/.*": "~",
		"bin/*": "~/bin/",
		"git/.*": "~",
		"sh/.*": "~",
		"vim/.*": "~"
	},
    "taps": [
        "caskroom/cask"
    ]
}

User defaults are stored similarly:

{
    "NSGlobalDomain": {
        "ApplePressAndHoldEnabled": false
    },
    "com.apple.dock": {
        "tilesize": 48
    },
    "com.iconfactor.mac.xScope": {
        "generalShowDockIcon": false
    }
}

Cider also supports YAML if you'd like to add comments to either of these. To see how this works out in practice, feel free to take a look at my dotfiles.

Backup your existing setup

To save the state of your existing setup:

cider missing
cider tap missing
cider cask missing

Manage symlinks

Cider supports the following commands to manage symlinks (inspired in part by GNU Stow).

cider addlink NAME ITEM...
cider relink # (invoked automatically by restore)

For example, cider addlink git ~/.gitconfig will move ~/.gitconfig to ~/.cider/symlinks/git/, create a link back to its original location, and add an entry to your bootstrap denoting this:

"symlinks": {
    "git/.*": "~"
}

To undo this change, simply run cider unlink git.

Directories in targets are automatically expanded, so the entry "bin/*": "~/bin/" will first create the directory ~/bin/ if it doesn't exist already, and then link all items in symlinks/bin/* to children of that directory.

Caveats

There doesn't seem to be a way to re-install purchases made from Mac App Store via the command line just yet, so those have to be done by hand.

Note: Cider is a work-in-progress, but it's well-tested and should be kind to your machine.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].