Feihong's V quickstart
May 9, 2021 ยท View on GitHub
Prerequisites
Needed to use http package:
brew install openssl
Installation
Install from source (is surprisingly fast)
cd /usr/local/opt
git clone https://github.com/vlang/v
cd v
make
./v symlink # creates symlink at /usr/local/bin/v
Commands
Compile and run a program
v run hello.v
Compile all files in a directory and execute main function
v run .