This instructional exercise was keep going refreshed on March 5, 2017.
NEW: My PC content can computerize the entire setup for you.
Subsequent to following numerous obsolete and deficient directions for setting up a web improvement condition on a Mac (back in March 2012), and investing a considerable measure of energy discovering answers for the issues I experienced en route, I chose to assemble this nitty gritty instructional exercise.
After some time, as devices have enhanced, and with new arrivals of OS X, I’ve refreshed this instructional exercise. With Sierra, El Capitan, Yosemite and Mavericks, setting up an improvement situation on a Mac with Apple’s independent Command Line Tools, Homebrew, Git, RVM, Ruby, and Rails is a decently calm process that is not any more full of the issues from two years prior.
Indeed, the entire procedure would now be able to be robotized by means of the workstation content that I composed for you.
Regardless of whether you utilize my content that does everything for you, or set everything up physically, it’s best that you begin with a perfect establishment of OS X. On the off chance that you’ve effectively attempted to introduce an advancement situation, I can’t ensure that you won’t keep running into any issues. Certain apparatuses utilized as a part of this instructional exercise won’t not be perfect with whatever you may have introduced. For instance, RVM isn’t good with rbenv, and MacPorts isn’t perfect with Homebrew.
Tap on your OS X form underneath to begin:
Sierra, El Capitan, Yosemite or Mavericks
Up until February 2012, the main way you could get the Command Line Tools required for web advancement was through the full Xcode bundle, which is very nearly 2 GB in estimate. From that point forward, Apple began offering the Command Line Tools (CLT) as a different, substantially littler download (~118MB), which benefits the individuals who don’t anticipate composing Mac or iOS applications. xcode for windows check now
There is likewise an outsider choice, the osx-gcc-installer by Kenneth Reitz, that backings both Snow Leopard and Lion. Be that as it may, it isn’t refreshed as regularly as the official Apple apparatuses, and I for one kept running into issues with it on Lion.
As of August 6, 2012, the issue above is never again give the most recent CLT for Mountain Lion, and I trust that is the situation on Lion also, yet I haven’t affirmed that yet. Until the point when I do, I suggest getting the CLT from Xcode in case you’re on Lion, as clarified in this instructional exercise.
The Easy Way for Sierra, El Capitan, Yosemite and Mavericks
I’ve composed an open source content that can set everything up for you, including arranging your Mac to work with GitHub.
In the event that you want to do everything physically, begin with Step 1 beneath.
Stage 1: Download and Install the Command Line Tools
Introducing the independent Command Line Tools on Sierra, El Capitan, Yosemite or Mavericks
The greater part of the work you’ll be doing in this instructional exercise will be in the “Terminal” application. The simplest method to open an application in OS X is to scan for it by means of Spotlight. The default console alternate way to invoke Spotlight is order Space. When Spotlight is up, simply begin composing the initial couple of letters of the application you are searching for, and once it shows up, select it, and press come back to dispatch it. See the enlivened GIF underneath for a case: