Skip to content

Install

The binary is viite (alias vt). The npm package is viite-cli — see below for why those differ.

Terminal window
curl -fsSL https://viite.ai/install | bash

Installs Bun if it’s missing, then the package. This is the route to use if you are not sure which you want.

Every GitHub release also carries compiled, runtime-free binaries — viite-macos-arm64, viite-macos-x64, viite-linux-x64, viite-linux-arm64, viite-windows-x64.exe — built by .github/workflows/cli-release.yml from the CLI’s own compile:all script.

That package does not exist, and cannot:

npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/viite - Not found
npm error 404 The requested resource 'viite@*' could not be found or you do not have permission to access it.

npm runs a typosquat filter over new unscoped names and refuses anything too close to an existing one; viite is rejected against vite, write and vfile. It’s a deterministic rule rather than a name somebody claimed first — nobody can publish viite, us included. -cli was enough distance, so the package is viite-cli.

A package’s name and the binaries it installs are independent, which is why what you type stays viite. Only the one-time install string carries the suffix.

Terminal window
viite --version

--version prints the installed package version. See Configuration for the environment variables it reads, and Commands for everything you can run.