Launch phpStorm from the Commandline

April 15, 2021

create a scripts directory in your home directory

mkdir ~/scripts

create a phpStorm launch script

nano ~/scripts/pstorm

add the following launch code

#!/bin/sh

open -na "PhpStorm.app" --args "$@"

save and exit and then make the file executable

chmod +x ~/scripts/pstorm

add the scripts directory to your path by opening up your profile and adding it

nano ~/.zshrc

the path to add

export PATH="/Users/nathanbate/scripts:$PATH"

then, activate the new settings in the current shell

source ~/.zshrc

finally, navigate to the directory where you want to launch phpStorm and launch it this way:

pstorm .
Book Reviews

I am nuts about books. I read on all kinds of topics. I attempt to review each book I read for the sake of my own enrichment as well as conversation starters with others.

My Book Reviews
The Attic

You never know what you will find in an attic! Usually there is a hodgepodge of things buried under dust.

Explore the Attic
Technology

Most of what is included here are notes to myself. The majority of folks will not find interest in these posts.

Technology Posts