Skip to content

Commit edc6ef3

Browse files
committed
update
1 parent b332cb2 commit edc6ef3

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed

content/en/docs/guides/install.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ There are two packages in the package: `default` and `debug`. `default` is built
2424
If you encounter problems, try using the `debug` package, which outputs more debugging information.
2525
However, in some cases it may run slower than the `default` package and consume more CPU.
2626

27+
Install the package you want on your system, or run it with the nix run command:
28+
29+
```bash
30+
nix run github:MikaShell/mika-shell#debug daemon
31+
```
32+
2733
## Other Distributions
2834

2935
Sorry, I currently don’t have the energy to package for other distributions.

content/en/docs/tutorial/modules.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ npm install @mika-shell/core @mika-shell/extra
4040
```
4141

4242
{{< callout type="warning" >}}
43-
Since this is still in the testing phase, the npm package may be outdated. Please get the latest version from [Releases](https://github.com/MikaShell/mika-shell/releases)
43+
Since this is still in the testing phase, the npm package may be outdated. Please get the latest version from [Releases](https://github.com/MikaShell/mika-shell/releases)!!!
44+
45+
```bash
46+
npm install https://github.com/MikaShell/mika-shell/releases/download/latest/mika-shell-core-xxx.tgz
47+
npm install https://github.com/MikaShell/mika-shell/releases/download/latest/mika-shell-extra-xxx.tgz
48+
```
49+
4450
{{< /callout >}}
4551

4652
* `@mika-shell/core` includes everything in `globalThis.mikaShell`.

content/zh-cn/docs/guides/install.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ seo:
2222

2323
在 package 中有两个软件包:`default``debug``default` 是以 `release-fast` 构建的,如果你遇到了问题,请尝试使用 `debug` 包,它会输出更多的调试信息。但是在某些情况下,它会比 `default` 包慢一些并且会占用更多的 CPU。
2424

25+
将你想要的包安装到系统上,或者通过 `nix run` 命令运行:
26+
27+
```bash
28+
nix run github:MikaShell/mika-shell#debug daemon
29+
```
30+
2531
## 其他发行版
2632

2733
非常抱歉,目前我没有更多精力为其他发行版打包,下面提供一些或许通用的手动安装步骤:

content/zh-cn/docs/tutorial/modules.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ npm install @mika-shell/core @mika-shell/extra
3838

3939
{{< callout type="warning" >}}
4040
由于目前正在测试阶段,npm 的包可能过时,请优先从 [Releases](https://github.com/MikaShell/mika-shell/releases) 获取最新版本的包!!!
41+
42+
```bash
43+
npm install https://github.com/MikaShell/mika-shell/releases/download/latest/mika-shell-core-xxx.tgz
44+
npm install https://github.com/MikaShell/mika-shell/releases/download/latest/mika-shell-extra-xxx.tgz
45+
```
46+
4147
{{< /callout >}}
4248

4349
其中 `@mika-shell/core` 中包含了 `globalThis.mikaShell` 的所有内容,实际上 `@mika-shell/core` 仅作为类型提示。

0 commit comments

Comments
 (0)