LoginSignup
0
0

More than 1 year has passed since last update.

ターミナルから「pstorm」コマンドでPhpStormが起動できない

Last updated at Posted at 2022-10-30

背景

毎回PhpStormを開く→プロジェクト選択するの面倒だな、ターミナルから開けば楽じゃん、と調べると
ちゃんとPhpStormを起動する方法があるじゃない。
コマンドは以下

$ pstorm .

結果は、、、、ダメ。。

zsh: command not found: pstorm

whichコマンドで確認すると確かにない

pstorm not found

対応

  1. PhpStorm > ツール > コマンドラインランチャーの作成を選択
    image.png

  2. デフォルトで/usr/local/bin/pstormになっているのでそのままOKを選択
    image.png

結果

$ pstorm .

無事プロジェクトを開けるようになりました!
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0