Skip to Content
Forest CLIInstalling Forest CLI

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:

irm https://releases.forest.dev/install.ps1 | iex

The 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:

OSInstall 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 --version

If 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

Download the script first to pass options:

# Pin a specific version .\install.ps1 -Version v0.1.0 # Uninstall .\install.ps1 -Uninstall

Environment overrides: FOREST_INSTALL_DIR (install location), FOREST_INSTALL_BASE (download mirror).

Supported platforms

PlatformArchitecture
Windowsx64 (ARM64 runs the x64 build under emulation)
macOSApple Silicon & Intel
Linuxx64

Forest PM is not distributed via package managers or toolchain managers at this time.

Last updated on