{"id":13572551,"url":"https://github.com/mdo/config","last_synced_at":"2025-04-05T07:07:05.236Z","repository":{"id":24309032,"uuid":"27704839","full_name":"mdo/config","owner":"mdo","description":"Personal checklist for setting up a new Mac's dev environment.","archived":false,"fork":false,"pushed_at":"2021-07-18T03:36:33.000Z","size":2,"stargazers_count":621,"open_issues_count":1,"forks_count":91,"subscribers_count":24,"default_branch":"main","last_synced_at":"2024-10-12T19:25:17.975Z","etag":null,"topics":["checklist","config","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-08T08:20:49.000Z","updated_at":"2024-10-07T23:55:57.000Z","dependencies_parsed_at":"2022-07-12T23:10:34.654Z","dependency_job_id":null,"html_url":"https://github.com/mdo/config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdo%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdo%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdo%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdo%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdo","download_url":"https://codeload.github.com/mdo/config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299832,"owners_count":20916190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checklist","config","shell"],"created_at":"2024-08-01T14:01:26.596Z","updated_at":"2025-04-05T07:07:05.216Z","avatar_url":"https://github.com/mdo.png","language":"Shell","funding_links":[],"categories":["Checklist-like","Shell"],"sub_categories":["Software development"],"readme":"# Config\n\n**Config** is a basic checklist I follow to set up a new Mac's development environment. It gets me up to speed with Git, Ruby, GitHub, Jekyll, and more so I can more quickly get back to coding.\n\n## Contents\n\n| File | Description |\n| --- | --- |\n| `.bash_profile` | Customizes the Terminal.app prompt and echoes the currently checked out Git branch. |\n| `.gitconfig` | Global Git configuration to specify my name and email, shortcuts, colors, and more. |\n| `.gitignore` | The ignore file from [twbs/bootstrap](https://github.com/twbs/bootstrap) that I use everywhere. |\n\n## Shell script (WIP)\nThis repository includes a shell script for executing the bulk of the configuration process. First, install and agree to terms for Xcode, then download and run Strap. Then, enter the following in Terminal:\n\n```bash\ncurl https://raw.githubusercontent.com/mdo/config/master/config.sh \u003e ~/Downloads/config.sh \u0026\u0026 bash ~/Downloads/config.sh\n```\n\nMany of the included macOS Terminal customizations are taken from \u003chttps://github.com/pawelgrzybek/dotfiles\u003e and \u003chttps://github.com/mathiasbynens/dotfiles\u003e.\n\n## Checklist\n\n### 1. Prep OS X\n\n- Download and install latest version of Xcode from the Mac App Store.\n- Open Terminal and trigger Xcode Command Line Tools installation: `xcode-select --install`\n\n**Be sure to open Xcode and agree to the terms of use.**\n\n### 2. Prep Terminal.app\n\n- Load [`.bash_profile`](/.bash_profile)\n- Load [`.gitconfig`](/.gitconfig) contents into the global `~/.gitconfig`\n- Load up the Atom theme from \u003chttps://github.com/nathanbuchar/atom-one-dark-terminal\u003e\n\n### 3. Secure Git(Hub) access\n\n- [Generate an access token](https://help.github.com/articles/creating-an-access-token-for-command-line-use/) for Terminal to auth your GitHub account when 2FA is enabled.\n\n### 4. GitHub dev setup\n\n- Download the Strap setup script for GitHub's foundational development setup.\n- Clone the `github/github` repository and run `script/bootstrap`.\n\n### 5. Setup Ruby\n\n- Install rbenv via Homebrew: `brew install rbenv`.\n- Download a version of Ruby via rbenv (e.g., `rbenv install 2.5.1`). See \u003chttps://gorails.com/setup/osx/10.11-el-capitan\u003e.\n- Make it the global version of Ruby: `rbenv global 2.5.1`.\n\n*Installing and managing Ruby with rbenv allows us to specify versions of Ruby on a per-project basis. It also means we can avoid running sudo commands for installing gems and more as it's not affecting OS X's system Ruby.*\n\n*Having trouble with nokogiri? See \u003chttps://stackoverflow.com/a/41491487\u003e.*\n\n### 6. Additional dependencies\n\n- Install node via Homebrew: `brew install node`.\n- Install Sass, Jekyll, and Rouge: `gem install bundler sass jekyll rouge`.\n\n### 7. Customize things\n- Disable LCD font smoothing\n- Hide desktop icons with `defaults write com.apple.finder CreateDesktop false; killall Finder`\n- Set sidebar icons to Small\n\n## Use it yourself\n\nFork this repo, or just copy-paste things you need, and make it your own. **Please be sure to change your `.gitconfig` name and email address though!**\n\n## Works on my machine\n\nYup, it does. Hopefully it does on yours as well, but please don't hate me if it doesn't.\n\n\u003c3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdo%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdo%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdo%2Fconfig/lists"}