Installing the chectl management tool
You can install chectl, the Eclipse Che command-line management tool, on Microsoft Windows, Apple MacOS, and Linux. With chectl, you can perform operations the Che server such as starting, stopping, updating, and deleting the server.
Installing the chectl management tool on Windows
This section describes how to install the chectl management tool on Windows.
-
Run the following command in the PowerShell terminal:
C:\Users> Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://che-incubator.github.io/chectl/install.ps1'))
-
The chectl tool is available at
C:\ProgramData\chectl.
Installing the chectl management tool on Linux or macOS
This section describes how to install the chectl management tool on Linux or macOS.
-
The directory
/usr/local/binis in the user$PATH. -
The
sudocommand is configured for the current user. -
No old or undesired versions of
chectlpresent on the system.
-
Run the following command in the terminal (this downloads and executes the
install.shscript):$ bash <(curl -sL https://che-incubator.github.io/chectl/install.sh)
-
Run the following command to verify that the
chectltool is available at/usr/local/bin/chectl:$ which chectl /usr/local/bin/chectl
-
Run the following command to verify that the version of chectl that is the expected one.
$ chectl --version
To identify the latest stable release, see the list of chectl releases and search for a release not containing "next" in the name.
-
Read the installation logs.
$ cat chectl-install.log