Skip to content

Commit

Permalink
docs(README): add new install instructions for chectl
Browse files Browse the repository at this point in the history
Related to eclipse-che/che#14114

Change-Id: I7617eda8b779b8f4d435139c5a2d27bdb32dd4b4
Signed-off-by: Florent Benoit <[email protected]>
  • Loading branch information
benoitf committed Aug 13, 2019
1 parent cd22e69 commit eb072aa
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,30 @@ Issues are tracked on the main Eclipse Che Repository: https://github.com/eclips
<!-- tocstop -->
# Installation

Binary downloads of `chectl` can be found on [the Release page](https://github.com/che-incubator/chectl/releases).
There are two channels of `chectl`: `stable` and `next`

Download the `chectl` binary and add it to your PATH.
Stable is for all tagged versions of Eclipse Che. Next is updated after each commit/Pull Request being merged in master branch.

If you're using macOS, here is how to install chectl binary with curl on macOS :
If you're using linux or macOS, here is how to install chectl by using one single command:

1) Download the latest release :
- For `stable` channel:
```
$ curl -LO <URL of the latest release that you can find following previous link ( select the tag : chectl-macos )>
$ bash <(curl -sL https://www.eclipse.org/che/chectl/)
```

2) Rename the file
- For `next` channel:
```
$ mv chectl-macos /usr/local/bin/chectl
$ bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=next
```

3) Make the chectl binary executable
```
$ chmod +x /usr/local/bin/chectl
```
Assemblies of chectl are available at [https://github.com/che-incubator/chectl/releases](https://github.com/che-incubator/chectl/releases)

Manual install:

Currently `chectl` requires [minikube](https://github.com/kubernetes/minikube#installation) and [helm](https://github.com/helm/helm#install) to be locally installed.
1) Download a .tgz file based on your Operating System / Arch
2) Unpack the assembly
3) move `chectl` folder into a folder like `$HOME/chectl`
4) add `$HOME/chectl/bin` to `$PATH``

# Usage
```sh-session
Expand Down

0 comments on commit eb072aa

Please sign in to comment.