To Install Git with bash-completion, svn, and the docs, run the below command: $ sudo port install git +svn +doc +bashcompletion +gitweb. $ sudo port install git +svn +doc +bashcompletion +gitweb. Now, we have successfully installed Git with the help of MacPorts on our system. Step4: Configure Git. Xcode installs its git to /usr/bin/git; recent versions of OS X (Yosemite and later) ship with stubs in /usr/bin, which take precedence over this git. To overcome, do the following: Note, you will need to restart your shell after so-doing, as most shells (bash) cache command location resolution from PATH. Feb 04, 2020 How to Install Git on Mac. There are many different ways to set up Git on Mac. If you prefer using a GUI, Git offers a simple installation using the installer for Mac. On the other hand, you can install Git using the terminal with a couple of simple commands. Option 1: Install Git on Mac with Installer.
May 19, 2020 Mac OSX Manual Environment Set Up Introduction. This Readme is a step-by-step guide for how to set up your local environment on a Mac. Please note that these instructions will not work for non-Mac users. If you're on a Windows 10 machine, see the Windows Subsystem for Linux setup instructions. Drush can be installed on a Mac using the Homebrew package manager, or manually using the following steps. Download and unpack Drush Download either the tar.gz or zip file from the Drush project page and unpack it into your home directory or a directory below your home directory. For example, if your home directory is /Users/myusername, unpacking the tar.gz or zip file there.
An easy to refer to document for setting up macOS 10.15 Catalina.
Previous Setup Gists
My previous macOS / OSX setup gists:
- Mac OS X 10.10 Yosemite - https://gist.github.com/suzannealdrich/d240c4741052b5db732a
Install Software
The software selected is software that is 'tried and true' --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
Prerequisites
System Config Files
Files from my personal system-config
repository on GitHub. There are some useful scripts and configs that make this process quick. This contains a Brewfile
, for example.
git clone https://github.com/suzannealdrich/system-config ~/.system-config
Homebrew
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'
Xcode Command Line Tools
During install of Homebrew, the script will kindly detect that you have not yet installed Xcode Command Line Tools, and pop up a dialog asking if you want to install it. Yes, you do. I defer to install the full Xcode until later since the download takes longer and I want to keep moving forward. For now, just the Xcode Command Line Tools.
Mac App Store Command Line Tools
Install Git Bash On Mac
The mas
command by argon
is a handy tool to interact with the App Store without needing to point and click, search, and otherwise need manual intervention. This lets us install the next batch of software very quickly using Terminal.
Now that Homebrew is installed, it's easy to get mas:
brew install mas
Then signin to the Mac App Store for the first time (if you are already signed in, then it will tell you):
mas signin [email protected]
Install binaries from a Brewfile (apps from App Store using mas, apps from Cask)
How To Open Git Bash
Edit Brewfile for last minute changes
You may wish to add or remove a few App Store or Cask items before initiating Homebrew to install all of the applications. If you wish to review these now you may fork the system-config
repo and edit the Brewfile (~/.system-config/Brewfile
) now.
Git Bash Download Mac
Install apps
Git Bash Download Mac
brew bundle --file=~/.system-config/Brewfile
Git Bash Download For Macbook
This will take some time, especially if you have a slow internet connection and because Xcode is huge. But it's faster than you having to search the App Store app and click to install for each of these!