docs(deploy): fix variable passing (#236)

This commit is contained in:
Yao Siqian
2026-03-13 01:14:37 +08:00
committed by GitHub
parent 9b771acaa8
commit 7904de87bd
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -42,16 +42,16 @@ Defaults when running silently:
**Install a specific version:**
```bash
MEMOH_VERSION=v1.0.0 curl -fsSL https://memoh.sh | sudo sh
curl -fsSL https://memoh.sh | sudo MEMOH_VERSION=v1.0.0 sh
```
**Use China mainland mirror** (for slow image pulls):
```bash
USE_CN_MIRROR=true curl -fsSL https://memoh.sh | sudo sh
curl -fsSL https://memoh.sh | sudo USE_CN_MIRROR=true sh
```
> Environment variables can be combined, e.g. `MEMOH_VERSION=v1.0.0 USE_CN_MIRROR=true curl -fsSL https://memoh.sh | sudo sh`
> Environment variables can be combined, e.g. `curl -fsSL https://memoh.sh | sudo MEMOH_VERSION=v1.0.0 USE_CN_MIRROR=true sh`
## Manual Install