Install Flow:
curl -fsSL https://myflow.sh/install.sh | sh
After install: f --version, f doctor, f upgrade.
f --version
f doctor
f upgrade