cli: simplify version loading
fix: honour PORT if set in .env file

Use the PORT given in the env file or specified in the environment
before falling back to the existing default of 5000.

Fixes #63