MAC修改JetbrainsTookBox默认安装地址

一、  打开终端,输入以下命令

cd ~/Library/Application\ Support/JetBrains/Toolbox/

二、修改目录下.setting.json,是个隐藏文件需要使用ls -a才能看到。添加如图内容

修改内容为

"install_location": "/Applications"

修改后的文件如下

{
    "autostart": false,
    "install_location": "/Applications",
    "ordering": {
        "local": [
            {
                "application_id": "DataSpell",
                "channel_id": "ch-0"
            },
            {
                "application_id": "Fleet",
                "channel_id": "ch-0"
            }
        ],
        "installed": [
            "6fb66bdf-602e-4979-a979-87e2808771e3"
        ]
    },
    "shell_scripts": {
        "enabled": false,
        "location": "/Users/xxxx/Library/Application Support/JetBrains/Toolbox/scripts"
    },
    "ui": {
        "language": "zh-CN"
    },
    "tools": {
        "localize_tools": true
    },
    "update": {
        "install_automatically": false
    }
}

三、重启Toolbox即可