Install the CLI
Install the Varis CLI on macOS, Linux, or Windows, and keep it up to date.
The Varis CLI is a single program. You don't need Node.js to install it.
Install
Choose your system:
brew install usevaris/tap/varisTo check that it worked, run:
varis --versionInstall without Homebrew or Scoop
If you don't use Homebrew or Scoop, use the install script.
curl -fsSL https://raw.githubusercontent.com/usevaris/varis-cli/main/install.sh | shThe script does the following:
- Downloads the latest release and checks it against the release's
SHA256SUMS. - Installs
varisin~/.varis/bin, or%USERPROFILE%\.varis\binon Windows. - Adds that folder to your
PATH.
Open a new terminal before you run varis.
You can change what the script does with these environment variables:
| Variable | What it does |
|---|---|
VARIS_VERSION | Installs a specific version, such as VARIS_VERSION=0.2.0. |
VARIS_NO_MODIFY_PATH | If set to 1, doesn't change your PATH. |
VARIS_INSTALL_DIR | Installs somewhere else. varis upgrade and varis dracarys only work with the default folder. |
Supported systems
- macOS on Apple silicon and Intel.
- Linux on x64 and ARM, with glibc. Alpine and other musl-based systems aren't supported.
- Windows on x64.
The CLI isn't code-signed yet. If you download it from a browser, macOS and Windows might warn you. Homebrew, Scoop, and the install script are less affected.
Upgrade
To upgrade to the latest version, run:
varis upgradeThe CLI upgrades itself the same way you installed it: with brew upgrade, scoop update, or by replacing itself after a checksum check. If you're already on the latest version, it does nothing.
varis upgrade only installs full releases. Pre-releases, such as 0.2.0-rc.1, are never installed unless you ask for one with VARIS_VERSION.
If you installed the CLI in a custom folder or downloaded it by hand, install it again instead.