Mac에서는 VisualSVN Server를 설치할 수 없으며, SVN 클라이언트를 통해 Windows의 VisualSVN Server에 연결하거나, Mac에서 자체적으로 SVN 서버를 설정해 사용하면 됩니다. VisualSVN Server는 Windows 환경에서만 필요하므로 Mac 사용자라면 다른 대안을 사용하는 것이 좋습니다.
svn --version
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# 버전확인
brew --version
brew install subversion
# 버전확인
svn --version
Error: Your Command Line Tools are too outdated.
Update them from Software Update in System Preferences.
=> Command Line Tools(CLT) 버전이 너무 오래되어 Homebrew 설치 과정에서 오류가 발생.
CLT를 최신 버전으로 업데이트해야 함.
# 오래된 버전의 CLT 삭제
sudo rm -rf /Library/Developer/CommandLineTools
# Command Line Tools 재설치
xcode-select --install
# 설치 확인
xcode-select -p
# 다시 설치 명령
brew install subversion
svn checkout http://<서버 주소>/<저장소 이름> <로컬 디렉토리>
svnserve -d -r <저장소 경로>