close phpstorm from terminal code example Example 1: kill phpstorm kill -9 $(pgrep -f phpstorm) Example 2: kill phpstorm ps -ef | grep phpstorm