Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Apr 22, 2024
1 parent bc4244c commit 1742c19
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
7 changes: 7 additions & 0 deletions docs/readmeCN.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
- 安装或卸载某个版本的sdk;
- 在不同版本的sdk之间切换;
- 支持session模式,即在某个终端会话临时激活并使用某个版本。可使用**vmr use -h**命令查看如何使用。默认global模式,即全局生效;
- 支持在某个项目中锁定sdk版本,当使用**cd**命令切换至该项目下的任何位置时,自动开启新的终端session,并切换到锁定版本(请注意尽量退出session后切换目录,不要嵌套session,虽然支持嵌套);
- 一键管理环境变量;
- 对neovim和vscode用户友好,可以一键安装neovim和vscode。同时,neovim中一些明星插件的安装也可以一键完成,例如fd,ripgrep,tree-sitter,fzf等;
- 相比其他版本管理器来说要更稳定;
Expand Down Expand Up @@ -89,6 +90,7 @@
| **cygwin-installer** | ✅︎ | ❌︎ |
| **msys2-installer** | ✅︎ | ❌︎ |
| **julia** | ✅︎ | ❌︎ |
| **odin** | ✅︎ | ❌︎ |
| **typst** | ✅︎ | ❌︎ |
| **typst-lsp** | ✅︎ | ❌︎ |
| **typst-preview** | ✅︎ | ❌︎ |
Expand Down Expand Up @@ -154,6 +156,11 @@ vmr set-reverse-proxy https://gvc.1710717.xyz/proxy/
vmr use -mirror-in-china go@1.22.1
```

- **一键更新功能**
```bash
vmr-update
```

------

<p id="6"></p>
Expand Down
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Maybe you've already heard of **fnm**, **sdkman**, **gvm**, **nvm**, **pyenv**,
- Installs or uninstalls versions of sdk.
- Swithes between versions of sdk.
- Using a version only in current terminal session is supported. See with command **vmr use -h**.
- Lock sdk version for a project, and autoswithed sdk version while **cd**.
- Handles envs.
- Friendly to VSCoders or Neovimers.
- Downloads files blazingly fast🚀🚀🚀 with multi-threads. See with command **vmr use -h**.
Expand Down Expand Up @@ -84,6 +85,7 @@ Maybe you've already heard of **fnm**, **sdkman**, **gvm**, **nvm**, **pyenv**,
| **cygwin-installer** | ✅︎ | ❌︎ |
| **msys2-installer** | ✅︎ | ❌︎ |
| **julia** | ✅︎ | ❌︎ |
| **odin** | ✅︎ | ❌︎ |
| **typst** | ✅︎ | ❌︎ |
| **typst-lsp** | ✅︎ | ❌︎ |
| **typst-preview** | ✅︎ | ❌︎ |
Expand Down Expand Up @@ -201,6 +203,12 @@ $HOME/.vm/
Specified during installation of **vmr**. Use "$HOME/.vm" by default.
![installation](https://cdn.jsdelivr.net/gh/moqsien/img_repo@main/vmr_install.png)

- **update**

```bash
vmr-update
```

------

<p id="8"></p>
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if ( "$sysType" -match "arm" )
$arch="arm64"
}

$version="v0.1.6"
$version="v0.1.7"

$filename="vmr_windows-" + $arch + ".zip"
$download_url="https://gvc.1710717.xyz/proxy/https://github.com/gvcgo/version-manager/releases/download/"
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ main() {
local os_type="$(uname -s)"
local os_arch="$(uname -m)"

local version="v0.1.6"
local version="v0.1.7"

local download_url="https://gvc.1710717.xyz/proxy/https://github.com/gvcgo/version-manager/releases/download/"
local osType="linux"
Expand Down

0 comments on commit 1742c19

Please sign in to comment.