解決 Mac webstrom Can't use Subversion command line client: svn The path to the Subversion executable is
解決Mac bigsur 中 Can‘t use Subversion command line client:svn
macOS 更新 Big Sur 后 打開IntelliJ旗下產品會報Can’t use Subversion command line client:svn The path to the Subversion executable is probably wrong. Fix it.
之前的mac版本只用更新 CommandLineTools 就可以使用,但是mac在該版本在 CommandLineTools中沒有提供svn,導致更新后還是不能用。
首先
xcode-select --install
如果提示你已經安裝並更新 可以執行下面代碼刪除老版本的CommandLineTools
sudo rm -rf /Library/Developer/CommandLineTools
接着繼續執行
xcode-select --install
至到 CommandLineTools安裝完成。
接下來我們使用Homebrew來安裝subversion。
首先檢查Homebrew的版本,並更新到最新版本(!!!比較重要,否則安裝不了 subversion)
檢查版本
brew -v
更新到最新版本
/bin/zsh -c "$(curl -fsSl https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
選中中科大下載源,並且輸入 Y 執行腳本后 輸入電腦密碼,等待其更新成功。
接着執行
brew options subversion
brew install subversion
等待其安裝成功。后輸入
svn --version
檢查版本。安裝成功,重啟IDEA就可以。