假设系统已安装brew,在终端执行下列命令:

brew update

brew install subversion18

echo 'export PATH="/usr/local/opt/subversion@1.8/bin:$PATH"' >> ~/.bash_profile

source ~/.bash_profile

 

输入 svn --version 查看结果