Different Versions on Web and Command Line Check

When I check HA version on my browser, it says 66.1 but when I check on command line, it says 64.3. And everytime a new version comes up and I update, I get the newer one on the browser and a newer one (but still outdated) on command line.

How can I know which is my correct version?

The one it shows in the information page on your interface is the version you’re running.

My guess would be that at some point (when 64.3 was out) you forgot to activate the venv for an upgrade, thus installing 64.3 separately on your system which is probably sat dormant until you run the command line from outside the venv, so it runs the ‘extra’ one because that’s the one that’s in your path.