CVS on a Mac
In order to be able to work on some of our Xtext / Eclipse related build scripts, I needed to install a CVS command line client on my Mac. Now if you google for “cvs mac“, you’ll get a large list of result, basically telling you to get the Apple Xcode SDK. While the Xcode SDK is for free, and usually you don’t even need to download it from the Apple Developer Connection’s website (as you already have it on your Mac install disks as Lullabot points out), it occurred to me that installing a 1+GB space hog seems to be a bit of an overkill for getting a tiny application.
So I decided to give Fink a try. Here is what you need to do to get a CVS commandline client on your Mac:
- Download Fink
- Install Fink
- Copy FinkCommander to your Applications folder
- Start FinkCommander
- In the search box, type “cvs”

- Click on the “install binary package” button (it’s the leftmost, with the blue plus sign)
- In the lower pane, you can now watch Fink downloading and installing the CVS package.

- Let’s see if it works. Open a command line window and type “cvs”:

Perfect!
Thanks for reading this post. Follow me on twitter here to be notified about updates and other posts I write. Or, subscribe to my RSS feed here. If you want to get in touch with me, use the contact form.






I would with the pleasure tell you that it is easier on Windows, if it would be completely true…
If you just need the client, it is really much easier. You just download the binary, unzip and run it.
But if you like to run the CVS as a service (for a repository), then there are two options: CVS in Cygwin and CVS NT. In fact, there is no reason not to switch to SVN, if you have the choice. The installation of the latter is well documented for all platform in the SVN Book.
If you have a Linux background, MacPorts is more adapted. And it has more available stuff than Fink IIRC.
Hi,
it seems, that you’re using your Mac as a development plattform.
So it is nevertheless a good idea to install the Developer Tools DVDs. In my opinion, the first step after starting a fresh Mac as a Developer, even if you are not interested in developing for the Mac itself (Cocoa,…).
This step is also necessary, if you’re using fink source packages, instead of binary ones, GCC comes with the Developer Tools.
You also got some other useful stuff like subversion.
Your unix environment is more close to be complete with Dev-Tools on board.
As Antoine said, MacPorts, seems to be the better choice for adding new unix related tools and apps.
I also used fink back in time, but switched to MacPorts (fka DarwinPorts).
My experience: MacPorts is better supported.
And one of the leads is Jordan K. Hubbard, co-founder of FreeBSD and works at Apple as chief of unix division.
I guess the MacPorts team has a close connection to Apple, if they aren’t supporting the team anyway.
Btw. you can also get GUIs for MacPorts:
http://porticus.alittledrop.com/ – free/donationware
http://www.codebykevin.com/portauthority.html – costs $24,95
I don’t know how good they are, or which one is better.
The command line is quite handy: http://guide.macports.org/
~ Markus
Eh, you guys need to remember KISS and YNGNI.
Peter stated clearly that his need was to be able to run cvs from the command-line only for the purpose of running local Eclipse based build scripts. He doesn’t care about how perfect the installer or version of CVS is, and neither do I. I’m just happy that I found his post while I was waiting for XCode to download.
2 minute solution instead of heading down the *nix rabbit hole, thanks!
BAM-025849-CF:ratFink furst$ fink install cvs
Information about 10372 packages read in 2 seconds.
Failed: no package found for specification ‘cvs’!
BAM-025849-CF:ratFink furst$
Does not work. Useless.