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


open -na "" --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 .
Personal Updates

This is a password protected section available to those who know me in some fashion. If you know me and you do not already have a login, you can request a login here.

Personal Updates
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
Pastoral Ministry

God has called me to be a pastor, and occasionally I have some pastoral thoughts I like to share.

Pastoral Posts
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

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

Technology Posts