WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
安装 jx
如何在你的机器上安装jx二进制包
Categories:
根据你的操作系统选择最适合的指令:
macOS
在 Mac 上你可以使用 brew:
或者,如果您尚未安装 brew ,并且喜欢手动安装的话,请执行如下指令安装:
- Download the
jx
binary archive usingcurl
and pipe (|
) the compressed archive to thetar
command:
or, if you don't have `jq` installed:
- Install the
jx
binary by moving it to a location which should be on your environments PATH, using themv
command:
- Run
jx version
to make sure you’re on the latest stable version
Linux
To install Jenkins X on Linux, download the .tar
file, and unarchive it in a directory where you can run the jx
command.
- Download the
jx
binary archive usingcurl
and pipe (|
) the compressed archive to thetar
command:
or, if you don't have `jq` installed:
- Install the
jx
binary by moving it to a location which should be on your environments PATH, using themv
command:
- Run
jx version
to make sure you’re on the latest stable version
Windows
-
如果你使用 Chocolatey,那么这里有一个 可用的包。
要安装
jx
二进制请运行:
要升级 jx
二进制请运行:
要升级 jx
二进制请运行:
其他平台
下载二进制包 jx
然后加到环境变量 $PATH
中
或者,你可以尝试 自行构建。然而,如果你要自行构建的话,请注意移除所有旧版本的 jx
二进制文件,这样你的本地构建才会出现在环境变量 $PATH
的第一位 :)
获得帮助
查找可用的命令类型:
或者,获取指定命令的帮助,例如: create
命令,可以输入:
你也可以浏览 jx 命令参考文档
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified April 27, 2020: feat: moving contributing section to top level (1cd22344f4)