Particle login - command not found (MAC)

What if you try my solution from this thread?