Install on Windows
Install the alter CLI on Windows with a single line, run from any terminal that hosts PowerShell: Windows Terminal, the classic console, or a PowerShell tab in your editor. The installer fetches the official @truealter/cli npm package and puts the alter command on your PATH. The optional always-on daemon (~alter’s alter-runtime) ships for Linux and macOS; on Windows you run the CLI directly, which is all you need to sign in and be known.
Install
Open a terminal that runs PowerShell, Windows Terminal, the classic console, or a PowerShell tab in your editor, and run the line below. Windows PowerShell 5.1 and PowerShell 7+ both work.
irm https://truealter.com/install.ps1 | iexThen bind your handle:
alter loginWhat it does
- •Installs a pinned, checksum-protected
@truealter/cliglobally and puts thealtercommand on your PATH. - •If Node.js 20 or newer is missing, installs it automatically via
winget, with aChocolateyfallback. - •Refreshes the live session PATH in place, so the same terminal can run
alterstraight after install. No new window needed. - •Re-runs heal in place: a second run upgrades cleanly and unseats the legacy
alterbin from pre-0.4.1 builds.
Node.js
The installer handles Node.js for you. If automatic install is blocked on your machine, install Node.js 20+ yourself and re-run the line above:
winget install OpenJS.NodeJS.LTS
# or, with Chocolatey:
choco install nodejs-ltsIf npm reports a permissions error, open PowerShell as Administrator and re-run the installer.
Verify
alter --version
alter whoamiPrefer to manage Node yourself?
If you already run Node 20+, install the same package straight from the registry with npm install -g @truealter/cli. See the npm install guide for details. It is the same CLI either way.