Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download google code from SVN onto Mac

I'd like to download the Google APIs Objective-C client onto my Mac (OSX 10.8). This page states the following:

Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://google-api-objectivec-client.googlecode.com/svn/trunk/ google-api-objectivec-client-read-only

So I tried running that line in Terminal, and all I got was:

-bash: svn: command not found

Can anyone tell me what I'm doing wrong? SVN should be installed already with OSX, no? Or do I need to install it first? Do SVN commands work in any directory?

Any help, much appreciated. Thanks guys.

like image 820
theDuncs Avatar asked Aug 27 '12 09:08

theDuncs


People also ask

Does SVN work on Mac?

SmartSVN – SVN Client. The popular Subversion client for macOS, Windows and Linux. Available as free Foundation edition and as full-featured Professional edition.

How do I download a project from TortoiseSVN?

To download TortoiseSVN, simply double click the installer file and follow the onscreen instructions. When prompted, click Install. The first step when using TortoiseSVN, is to download a local working copy of your repository. Start by creating a directory where you will store the working copy.


2 Answers

I'm pretty sure you need Apple's command line tools. You can get these by either installing Xcode from the Mac App Store or downloading the command line tools from here.

like image 100
tgt Avatar answered Oct 12 '22 07:10

tgt


How to install Command Line Tools:

Xcode / Behaviors / Edit behaviors... / Downloads / Command Line Tools / Install

like image 28
Gabriel.Massana Avatar answered Oct 12 '22 06:10

Gabriel.Massana