vvm
is a simple, command-line tool for managing the installation and updates of the V programming language.
- Install the latest version of V.
- Update your existing V installation.
- Uninstall V.
To install vvm
, run the following command:
sudo ./vvm install-self
This will copy the vvm
script to /usr/local/bin
, making it accessible from anywhere in your system.
Once vvm
is installed, you can use the following commands:
vvm install
This command will:
- Install the necessary dependencies for your operating system (if it's a supported Debian, Fedora, or Arch-based Linux distribution).
- Clone the V repository to
$HOME/.vlang
. - Compile V.
- Create a symbolic link to the
v
executable in/usr/local/bin
.
vvm update
This command will update your existing V installation to the latest version.
vvm uninstall
This command will remove the V installation and the symbolic link.
vvm help
This will display the help message with the list of available commands.