-
-
Notifications
You must be signed in to change notification settings - Fork 27
Installation
To use Vex, you need to use the latest version of the V compiler.
If you are using V on Windows, it's better to use PowerShell for this installation process as there are some commands that can be used both on Powershell and Unix Terminal Shell but not on Command Prompt (CMD).
The V compiler includes a package manager by default. To install Vex via VPM, execute:
v install nedpals.vex
VPM will clone the Vex repository to the <HOME_DIR>/.vmodules
folder.
vpkg is a third-party package manager for V with additional features such as flexible installation of modules and more. If you have vpkg installed on your system, you can execute:
vpkg get vex
This will install the module inside your project directory. To install Vex as a global module, just do vpkg get vex --global
instead.
If installation via package manager does not work, you can use the traditional Git clone method instead. To install Vex via Git, you must be inside the project directory, and follow these commands:
mkdir modules
cd modules
git clone https://github.com/nedpals/vex.git
If you have installed Vex successfully, then you can proceed to the Getting Started section or start using it directly.