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.
You can install the State Tool via a downloadable .exe file, or through a PowerShell script.
Download the State Tool .exe and install it. 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.
Open your terminal and run the following command:
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.
There are two ways to uninstall the State Tool.
To uninstall the State Tool but leaves some config files, run the following:
state clean uninstall
To uninstall the State Tool and all related files, run the following:
state clean uninstall --all
For help with uninstallation check here.