Skip to content

Commit 35075b0

Browse files
author
欧林宝
authored
Update README.md
1 parent e40bf9d commit 35075b0

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
# 京东云CLI
22
京东云CLI提供使用命令行的方式访问您的云中资源。
33

4+
## 安装须知
5+
京东云CLI基于Python语言和京东云Python SDK开发,使用CLI前请安装Python 2.7版本和pip包管理工具。请访问官网下载并安装Python2.7和pip。
6+
7+
### Python2.7和pip安装
8+
通过官网安装:
9+
- Python:https://www.python.org/downloads
10+
- pip:https://pip.pypa.io/
11+
12+
使用各发行版包管理工具安装pip,请参考:
13+
14+
https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers
15+
16+
### 京东云Python SDK依赖说明
17+
京东云Python SDK不用手动安装,Python包管理工具会自动下载并安装对应版本的依赖包。如果您已经安装了京东云Python SDK,并且因为CLI版本与之不对应而不能正常工作,请参考下面的版本对应表,安装对应版本SDK或删除旧的Python SDK并重新安装CLI。
18+
19+
|发布日期|京东云CLI|京东云Python SDK|
20+
|---|---|---|
21+
|2018.06.04|0.1.0|1.1.1|
22+
23+
424
## 安装方法:
525
### Linux && Mac
626
pip安装:
@@ -9,7 +29,7 @@ pip安装:
929
源码安装:
1030
`python setup.py install`
1131

12-
安装后执行
32+
安装后执行以下脚本,打开自动完成功能
1333
```
1434
echo 'eval "$(register-python-argcomplete jdc)"' >> .bashrc
1535
echo 'export COLUMNS=100' >> .bashrc
@@ -18,3 +38,4 @@ source ~/.bashrc
1838

1939

2040
### Windows
41+
开发验证中。

0 commit comments

Comments
 (0)