I am trying to install Subversion and GIT on my mac because I want to use it with limejs. I believe I’ve installed it correctly but I keep getting this error in the terminal: -bash: svn: command not found
this happens with both SVN and GIT, is there something I’m missing or that I’m doing wrong?
11 Answers
- Download SVN client for Mac OS. Sources are closed.
- If you want to download SVN repository online (e.g. Google Code) without installing anything, you can use wget. On a mac - OSx 10.8.2 - it seems to be $ git svn.
- SnailSVN is a TortoiseSVN-like Apache Subversion (SVN) client for Mac OS X, implemented as a Finder extension. SnailSVN allows you to access the most frequently used SVN features, from the Finder context menu directly. SnailSVN also adds icon overlays to your SVN working copies in Finder.
It could be that they aren’t in your unix path. See this article for adding something to your unix path.
I believe you were right, I added that line of code to my terminal and now it gave me this : >
Part of the the standard distribution. Svnserve is part of the subversion package, moddavsvn is in the separate subversion-server package. $ zypper install subversion $ zypper install subversion-server Community packages are available from the openSUSE project, also for the 1.8 series of releases. Download SVN client for Mac OS. Sources are closed.
do I need to write something else after that?
Thanks!
Mac Subversion Client
@gorillapaws I believe you were right, I added that line of code to my terminal and now it gave me this : >
do I need to write something else after that?
Thanks!
@polycinco how are you installing them? homebrew? macports?
An aside: I’ve been thinking about playing around with html5/canvas stuff. What makes limejs more compelling than any of the other frameworks out there?
Set your path to Unix only then they will install.
@phaedryx I wasn’t using either of those or anything else, I enrolled in a course to make HTML5 games which requires Limejs GIT and subversion. I couldn’t tell you what the difference is between Limejs and others because I’m new to all of these and that’s why it’s being kind of hard to even install those things /:
@abundantlife I believe I did that but would you mind guiding me through it?
@polycinco I personally like homebrew because it makes it really easy to install things (e.g. it automatically downloads and installs programs and creates symlinks so that they’ll be in your path).
You can read about it on their website, but the commands are pretty simple. Open up “Terminal” (you’ll need to type/copy the things I’ve bolded to the prompt).
1. Install homebrew:
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
2. install subversion:
brew install subversion
3. install git:
brew install git
4. switch to your home directory:
cd
5. check out the limejs repository:
git clone git://github.com/digitalfruit/limejs.git
6. switch to the limejs directory you just made:
cd limejs
7. initialize:
bin/lime.py init
8. Create a new project:
bin/lime.py create helloworld
9. Open up ~/limejs/helloworld/helloworld.html in your browser and take a look
@phaedryx Thank you so much! This is really helpful. I started with number 1 and got this on Terminal: Last login: Tue Sep 11 10:07:49 on ttys000
Cinthyas-MacBook-Pro:~ polycinco$ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press enter to continue
> Downloading and Installing Homebrew…
/dev/fd/63:132:in `chdir’: Permission denied – /usr/local (Errno::EACCES)
from /dev/fd/63:132
Cinthyas-MacBook-Pro:~ polycinco$
Why does it say permission denied?
Thanks again!
I means that the user ‘polycinco’ on your system doesn’t have permissions to the ’/usr/local’ directory. You can see what the permissions are by typing:
ls -al /usr/|grep local
(it will give you the permissions string, a number, the name of the user who owns the directory, the name of the group who owns the directory, and some other info)
On my system I added my user to the ‘admin’ group, for you it would be:
sudo dseditgroup -o edit -a polycinco -t user admin
(it will probably prompt you for a password)
and make ’/usr/local’ group-writeable:
sudo chmod g+w /usr/local
Svn Client For Mac
and try going through my previous steps again.
————————————————————————————————-
If that doesn’t work for you, you can try installing it as the superuser:
sudo ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
————————————————————————————————-
Or if all else fails, open permissions to /usr/local to everything before installing:
sudo chmod 777 /usr/local
Mac Svn
but make sure to change it back when you’re done:
sudo chmod 755 /usr/local
Svn For Mac Free
@phaedryx Thank you so much! I will try this and let you know what happens, hopefully this will fix it!
Svn Mac Os
Answer this question
Install Subversion On Mac
This question is in the General Section. Responses must be helpful and on-topic.