Installing the Forest CLI
The Forest CLI is your entry point into the Forest PM ecosystem. It’s a lightweight tool that lets creators and teams manage packages and projects directly from the terminal.
Quick install
Run the command for your operating system in a terminal:
Windows (PowerShell)
irm https://releases.forest.dev/install.ps1 | iexThe installer detects your platform, downloads the latest forest binary, verifies its SHA-256 checksum against the published release manifest, and adds it to your PATH. No admin rights are required; everything installs per-user:
| OS | Install location |
|---|---|
| Windows | %LOCALAPPDATA%\forest-cli\bin |
| macOS / Linux | ~/.local/bin |
Prefer to inspect before running? Both scripts are plain text; open the URLs in your browser first.
Verify the installation
Open a new terminal (so the PATH change takes effect) and run:
forest --versionIf installed correctly, you’ll see the Forest CLI version number.
From then on the CLI keeps itself current: forest upgrade updates it in place, and a one-line notice appears when a newer release is available.
Options
Windows
Download the script first to pass options:
# Pin a specific version
.\install.ps1 -Version v0.1.0
# Uninstall
.\install.ps1 -UninstallEnvironment overrides: FOREST_INSTALL_DIR (install location), FOREST_INSTALL_BASE (download mirror).
Supported platforms
| Platform | Architecture |
|---|---|
| Windows | x64 (ARM64 runs the x64 build under emulation) |
| macOS | Apple Silicon & Intel |
| Linux | x64 |
Forest PM is not distributed via package managers or toolchain managers at this time.