Please follow the instructions in the official documentation to install V on your machine.
It is highly recommended that you install from source and then follow the instructions on symlinking to be able to run V anywhere.
The best way to use V in an IDE is to use the VSCodium extension. There is also support for Vim, Emacs, and Sublime. To see a full list of supported IDEs, see the V homepage.