Install the State Tool CLI

The ActiveState State Tool is a command-line interface (CLI) and package manager designed to make it easier for developers to create, share, and edit language-specific runtime environments and packages.

Windows installation

Install the State Tool .exe. You may be prompted to allow the State Tool executable access to your system before the installation is complete.

The following command will also install the State Tool on your system. Note that while our install process uses PowerShell the State Tool does not officially support PowerShell.

powershell -Command "& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://platform.activestate.com/dl/cli/install.ps1')))"

Once installed, we recommend closing and re-opening your command prompt to ensure your environment is properly updated.

macOS/ Linux installation

sh <(curl -q https://platform.activestate.com/dl/cli/w19880m01/install.sh)

Once installed, we recommend closing and re-opening your command prompt to ensure your environment is properly updated.

Uninstalling the State Tool

You can uninstall the State Tool by running the following command.

state clean uninstall

For help with uninstallation check here.