So shell login can be slow if you installed node versions using nvm and used nvm to set a default interpreter. The solution that helped me was to unset the default node but that means that there’s no node executable unless you manually first run
nvm use node or setup .nvmrc in projects… If limited to the former solution, that means PHPStorm might complain node is missing.
I had success installing node from nodesource as the “system node” fallback. weird flex but ok. Some node is better than the right node.