Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 595 Bytes

File metadata and controls

18 lines (18 loc) · 595 Bytes
  • 🛠 PhpStorm CLI Setup on macOS

    To open PhpStorm from the terminal using the phpstorm command:

    1. Add PhpStorm to Your PATH by edit your shell config file (.zshrc for zsh users):
      open -e ~/.zshrc
    
    1. Then add the following line at the end of the file:
     export PATH="/Applications/PhpStorm.app/Contents/MacOS:$PATH"
    
    1. Apply the Changes (In the terminal, reload the config):
     source ~/.zshrc
    
    1. Test the Command (Navigate to any project folder and run):
     phpstorm .