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 .

Links

  • Installing V from source
  • V docs
  • V standard library

Contents

  1. 1Prerequisites
  2. 2Installation
  3. 3Commands
  4. 4Links