set running pm2 process name code example Example: change process name pm2 pm2 restart id --name newName