{"id":18720846,"url":"https://github.com/msichterman/mac-setup","last_synced_at":"2025-04-05T02:11:50.802Z","repository":{"id":105343891,"uuid":"460114637","full_name":"msichterman/mac-setup","owner":"msichterman","description":"The commands and processes I run to setup a new Mac computer","archived":false,"fork":false,"pushed_at":"2025-01-02T03:12:44.000Z","size":38,"stargazers_count":173,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T01:14:27.304Z","etag":null,"topics":["homebrew","setup-development-environment"],"latest_commit_sha":null,"homepage":"","language":null,"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/msichterman.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-16T17:48:44.000Z","updated_at":"2025-02-19T04:17:49.000Z","dependencies_parsed_at":"2024-12-28T11:30:40.654Z","dependency_job_id":"c73b5931-32c0-45a5-9562-99c6197a6dd3","html_url":"https://github.com/msichterman/mac-setup","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/msichterman%2Fmac-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msichterman%2Fmac-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msichterman%2Fmac-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msichterman%2Fmac-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msichterman","download_url":"https://codeload.github.com/msichterman/mac-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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":["homebrew","setup-development-environment"],"created_at":"2024-11-07T13:32:48.322Z","updated_at":"2025-04-05T02:11:50.789Z","avatar_url":"https://github.com/msichterman.png","language":null,"readme":"# Mac Setup\nThe commands and processes I run to setup a new Mac computer\n\n## Homebrew Setup\nFirst, install Homebrew:\n```\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n```\n\nInstall the following as needed:\n```\nbrew install git\n```\n```\nbrew install yarn\n```\n```\nbrew install prettier\n```\n```\nbrew install python\n```\n```\nbrew install awscli\n```\n```\nbrew install gnupg\n```\n```\nbrew install elixir\n```\n```\nbrew install --cask phoenix\n```\n```\nbrew install --cask google-chrome\n```\n```\nbrew install --cask visual-studio-code\n```\n```\nbrew install --cask pycharm\n```\n```\nbrew install --cask docker\n```\n```\nbrew install --cask dotnet\n```\n```\nbrew install --cask lastpass\n```\n```\nbrew install --cask slack\n```\n```\nbrew install --cask postman\n```\n```\nbrew install --cask notion\n```\n```\nbrew install --cask zoom\n```\n```\nbrew install --cask microsoft-outlook\n```\n```\nbrew install --cask adobe-acrobat-pro\n```\n```\nbrew install --cask raycast\n```\n```\nbrew install --cask fig\n```\n```\nbrew install --cask figma\n```\n```\nbrew install --cask miro\n```\n```\nbrew install --cask canva\n```\n```\nbrew install --cask robo-3t\n```\n```\nbrew install --cask rocket\n```\n\n## Node\nDownload Node Version Manager (NVM) to download and manage Node versions.\n```\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash\n```\n\nOnce that installs, run the following command:\n```\nnvm install stable\n```\n\n## Bash\nCreate and open bash profile\n```\ntouch ~/.bash_profile\n```\n```\nopen -a TextEdit.app ~/.bash_profile\n```\n\nHead over to wherever you save your custom config and copy it into TextEdit and save.\n\n## Git\n```\ngit config --global user.name \"Matt Sichterman\"\n```\n```\ngit config --global user.email msichterman1@gmail.com\n```\n\n### Configure GPG Commit Signing\n1. Log into [GitHub](github.com)\n2. Click on settings under your profile in the top right corner.\n4. Find your GitHub email address in your Account Settings under the Emails menu option.\n    * If it is private this will be someone@user.noreply.github.com.\n    * If your email is verified, it will have a green Primary next to your email address and skip to step 5.\n5. If your email it is not verified follow [THESE](https://docs.github.com/en/get-started/signing-up-for-github/verifying-your-email-address) steps from Github, then return to these instructions when complete.\n6. Open Terminal\n7. In Terminal, run:\n```\nbrew install gnupg\n```\nThis and the following step may take a little while, e.g. 15 minutes. Go grab yourself a coffee.\n\n7. In Terminal, run:\n```\ngpg --version\n```\nto validate your installation. Your validation should look like (or newer):\n![image](https://user-images.githubusercontent.com/38794918/154548080-c3f89fb2-8bdf-4ead-9cfd-1c38ea448903.png)\n\n8. In Terminal, run the following to generate a GPG key pair:\n```\ngpg --full-generate-key\n```\n   * At the prompt, specify option 4, \"RSA (sign only), and press Enter.\n   * At the prompt, specify 4096 as the key size, press Enter.\n   * At the prompt, specify 1y as the the length of time the key should be valid, press Enter.\n   * At the prompt, press Enter to leave the comment blank.\n\n9. Verify that your selections are correct.\n\n10. Enter your user ID information, which should be your real name (ie FirstName LastName).\n\n11. Enter your email address that is verified in Github.\n12. Enter a new passphrase. Keep your secret key secret.\n   * Keep both the key and your password in a secure location (e.g. a password manager like `LastPass`), and don't lose it.\n\n13. Open Finder and navigate to {location} and check to see if you have a gpg.conf file\n   * If the file does not exist, create it using a text editor and renaming the file with a .conf\n \n14. Add the following two lines to your `~/.gnupg/gpg.conf` file.\n```\nno-tty\nuse-agent\n```\n\n15. Add the public GPG key to your [GitHub account](https://docs.github.com/en/github/authenticating-to-github/adding-a-new-gpg-key-to-your-github-account)\n   * Note: Go through steps 11-14 in \"generated your GPG key\" (noted in step 4 of the guide above) to generate the actual key\n\n16. Follow the steps in [this guide](https://docs.github.com/en/github/authenticating-to-github/telling-git-about-your-signing-key)\n\n17. In Terminal, run `git config --global commit.gpgsign true` to instruct git to sign all of your commits automatically.\n\n18. Run the following command to do some cleanup:\n```\nbrew uninstall pinentry-mac\n```\n\n19. Now install the GPG Suite versions\n```\nbrew install --cask gpg-suite\n```\n\n20. Once installed, open Spotlight and search for \"GPGPreferences\", or open system preferences and select \"GPGPreferences\"\n\n21. Select the Default Key if it is not already selected, and ensure \"Store in OS X Keychain\" is checked:\n![photo](https://github.com/pstadler/keybase-gpg-github/blob/master/img/gpg-preferences.png)\n\n22. Update your environment (Terminal):\n```\nnano ~/.bash_profile\n```\n\n   * And then Add the following line\n\n```\nGPG_TTY=$(tty)\nexport GPG_TTY\n```\n\n   * And then exit out of the editor (^X) and save the document (Y)\n\n   * And run this command:\n```\nsource ~/.bash_profile\n```\n\n23. Run:\n```\ngpgconf --kill gpg-agent\n```\n\n### Setup SSH\nCreate ssh key by following the steps:\n1. Run: `ssh-keygen -t ed25519 -C \"\u003cyour email\u003e\"`\n2. Press \u003ckbd\u003eReturn\u003c/kbd\u003e when asked \"Enter file in which to save the key\"\n3. Press \u003ckbd\u003eReturn\u003c/kbd\u003e when asked \"Enter passphrase\" and \"Enter same passphrase again\"\n4. Run: `ls ~/.ssh` and confirm `id_ed25519.pub` is present\n5. Run: `pbcopy \u003c ls ~/.ssh/id_ed25519.pub` which copies the file into your clipboard\n6. Add the SSH key into Github:\n   * Navigate to SSH and GPG tab in Github\n   * Select \"New SSH key\"\n   * Paste the SSH key (pressing \u003ckbd\u003eCommand\u003c/kbd\u003e + \u003ckbd\u003eV\u003c/kbd\u003e should work as you copied the key into clipboard in previous step)\n   * Configure SSO → Authorize\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsichterman%2Fmac-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsichterman%2Fmac-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsichterman%2Fmac-setup/lists"}