https://github.com/ymfe/ykit-cli
ykit 版本管理工具
https://github.com/ymfe/ykit-cli
Last synced: 8 months ago
JSON representation
ykit 版本管理工具
- Host: GitHub
- URL: https://github.com/ymfe/ykit-cli
- Owner: YMFE
- Created: 2017-11-20T12:11:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-13T12:35:27.000Z (about 7 years ago)
- Last Synced: 2025-02-18T01:43:10.983Z (11 months ago)
- Language: JavaScript
- Size: 4.89 MB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ykit-cli
YKit 版本管理工具
## 安装
```shell
sudo npm i ykit-cli -g
# 或者使用 cnpm 安装
sudo npm i ykit-cli -g --registry=https://registry.npm.taobao.org
```
## 使用
### 安装并激活某版本
```shell
ykit-cli i next # 安装 ykit 最新版本
ykit-cli i latest # 安装 ykit 稳定版本
ykit-cli i 0.6.0 # 安装特定版本
```
### 切换版本
```shell
ykit-cli use 0.7.0
```
### 查看当前已安装版本
```shell
ykit-cli ls
```
### 查看远端版本
```shell
ykit-cli remote
```
### 卸载某版本
```shell
ykit-cli uni 0.7.0
```
## 相关链接
[YKit Doc](https://github.com/YMFE/ykit)