Installation
Last updated
Was this helpful?
Although Varphi is fundamentally a compiled language, we have created a compiler driver which handles both compiling your Varphi code and running the compiled code. We call this tool the Varphi Interpreter, or vpi for short.
The Varphi Interpreter is installable via two methods, which we cover below.
If you already have pip installed, you can easily install the Varphi Interpreter via
pip install varphi-interpreterTo avoid future issues, please create a Virtual Environment before installing. Simple instructions can be found below, but please refer to the official guide in case of any issues. On Windows:
python -m venv venv
venv\Scripts\activateOn Linux/macOS:
python -m venv venv
source venv/bin/activateThe Varphi Interpreter should then be accessible through the vpi command. For example, you can confirm the installation succeeded using
vpi --versionWe have pre-compiled some versions of the Varphi Interpreter for popular operating systems, namely the latest Windows, macOS, and Linux (Ubuntu) versions. The binaries are available on GitHub Releases. These executables work right out of the box; just download the executable for your OS and invoke it over the command line. For example, to confirm the executable works, you can use
/path/to/the/downloaded/executable --versionLast updated
Was this helpful?
Was this helpful?

