在 Mac 和 Linux 中安裝 PHPStorm 的時(shí)候,會(huì)提示是否將 pstorm 命令加入 /usr/local/bin 中,來方便的使用 shell 打開 phpstorm,有時(shí)候會(huì)忽略掉此條信息。有時(shí)候需要打開新項(xiàng)目需要先打開 phpstorm,然后選擇文件夾,然后打開。比較繁瑣,配置了 pstorm 命令可以直接在命令行下直接使用
pstrom 項(xiàng)目文件路徑
即可打開。非??旖荩渲闷饋矸浅:?jiǎn)單。打開 phpstorm 后,按照下圖操作即可:

image.png
點(diǎn)擊 OK 完成

image.png
現(xiàn)在就可以愉快的打開項(xiàng)目了。