数字小哥 https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html#standalone sudo vim /usr/local/bin/phpstorm 内容: #!/bin/sh open -na "PhpStorm.app" --args "$@" 给文件添加执行权限: sudo chmod +x /usr/local/bin/phpstorm