zoukankan      html  css  js  c++  java
  • 解决 Mac webstrom Mac bigsur 中 Can‘t use Subversion command line client:svn

    解决 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就可以。

     
  • 相关阅读:
    if 语句
    变量命名
    python变量
    运算符
    注释
    PyCharm
    python版本,执行
    Tornado 【简述】
    Git 【管理篇】
    MySQL的介绍
  • 原文地址:https://www.cnblogs.com/riji/p/14015171.html
Copyright © 2011-2022 走看看