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

     
  • 相关阅读:
    第7章 类
    windows查询端口占用以及kill
    判断电脑的系统,以及windows是否是XP
    Promise.all 出现异常时候处理
    [Vue warn]: Failed to mount component: template or render function not defined.
    电脑缺少配置 输入命令解决
    Vue packages version mismatch
    数组里 对象去重
    hexo 创建博客
    查看端口占用,并结束占用端口
  • 原文地址:https://www.cnblogs.com/riji/p/14015171.html
Copyright © 2011-2022 走看看