Install the CLI

How to install the jx 3.x CLI

You can download 3.x of jx from here: https://github.com/jenkins-x/jx/releases or use HomeBrew (macOS).

Linux

curl -L https://github.com/jenkins-x/jx/releases/download/v3.11.2/jx-linux-amd64.tar.gz | tar xzv
chmod +x jx 
sudo mv jx /usr/local/bin

macOS

  • HomeBrew method:
brew install --no-quarantine --cask jenkins-x/jx/jx
  • Curl method:
curl -L  https://github.com/jenkins-x/jx/releases/download/v3.11.2/jx-darwin-amd64.tar.gz | tar xzv
chmod +x jx 
sudo mv jx /usr/local/bin

Windows

  • click on the download link to download a binary
  • copy the jx binary to a directory on your $PATH

Verify your install

Once you have installed the jx binary so it is on your $PATH you should be able to run

jx version 

or

jx --help 

For more detail see the Command Line Reference Guide


Last modified March 11, 2024: Update _index.md (f3df2c041d)