Installed Haxe 4.0.5 and when I check the version it says 4.0.2

I installed haxe-4.0.5-win64 and when when I type haxelib version in the command line I get 4.0.2
Is that not how you are supposed to check the version?

Maybe you have another installation of Haxe, which takes prescedence since it was added to PATH earlier?

Most likely you’re confusing the version of haxelib with the version of haxe. They’re independent.

1 Like

That is what I thought. That is what I said I used haxelib. Thanks.

To check the Haxe version, you would use haxe -version.