Skip to content

Commit

Permalink
concepts
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Jan 1, 2025
1 parent 4a5c7d6 commit e7b3e5e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/content/docs/starts/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ There are several concepts to be explained before we start using VMR.

When an SDK is installed in **Global Mode**, the envs are added to vmr.sh. Otherwise, not.

If your current shell is in session mode, and you have installed an SDK for global mode, then the source command will not work.
In this case, you need to use the customed alias **svmr** to flush the envs.

If you need to see whether the current shell is in session mode or not, you should use command **vmr ism**.

## TUI

See [wikipedia](https://en.wikipedia.org/wiki/Text-based_user_interface). You can open TUI using command below.
Expand Down
4 changes: 4 additions & 0 deletions src/content/docs/zh-cn/starts/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ description: 关于一些概念的解释.

当使用**全局**模式安装SDK时,环境变量才会被持久化到vmr.sh中,否则不会。所以,如果想要环境变量一直可用,请使用**全局模式**。详见[这里](https://vdocs.vmr.us.kg/zh-cn/guides/tutorial/#%E5%8F%AF%E5%AE%89%E8%A3%85%E7%89%88%E6%9C%AC%E5%88%97%E8%A1%A8%E7%9B%B8%E5%85%B3%E7%9A%84%E5%BF%AB%E6%8D%B7%E6%8C%89%E9%94%AE%E6%8F%90%E7%A4%BA)

如果你的当前Shell处于session模式,而你在当前Shell中以全局模式安装了SDK,那么source命令将无法加载新安装的SDK。这时候,你需要使用vmr定制的命令别名**svmr**来刷新环境变量。

如果你想要查看当前Shell是否处于session模式,可以使用命令**vmr ism**

## TUI是什么?

看看[维基百科](https://en.wikipedia.org/wiki/Text-based_user_interface). 你可以使用下面的命令来打开VMR的TUI.
Expand Down

0 comments on commit e7b3e5e

Please sign in to comment.