1. Delete the old version of svn
sudo rm /usr/bin/svn
2. Use brew to install svn (the latest version is automatically installed), if brew cannot be executed, click here to get the package manager homebrew, and then execute
brew install --universal --java subversion
3. If you are prompted to install --universal sqlite during installation, delete sqlite first if you have installed it yourself
brew uninstall sqlite
4. Install sqlite
brew install --universal sqlite
5. Perform 2 installation
6. Execute svn --version, if the following information appears, the installation is successful.
After installation, /usr/local/opt/subversion/bin/svn can be integrated with IDE and use IDE to operate svn. You can also operate svn from the terminal command line,
In order to reduce the memory pressure of the machine and the inconvenience caused by too many applications, I am used to operating svn with IDE and terminal commands.