Skip to content

Commit 4f68146

Browse files
committed
docs: update installation instructions to require sudo for Linux
- Modified installation commands in README, scripts, and website to include 'sudo' for proper permissions. - Updated translations in i18n files to reflect the change in installation command for Linux.
1 parent e5437ae commit 4f68146

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Under the hood, TenBox is a cross-platform Virtual Machine Monitor (VMM) with a
4040
### Linux (Debian 11+ / Ubuntu 20.04+ / Raspberry Pi OS 11+, amd64 / arm64)
4141

4242
```bash
43-
curl -fsSL https://tenbox.ai/install.sh | sh
43+
curl -fsSL https://tenbox.ai/install.sh | sudo sh
4444
```
4545

4646
Requires glibc 2.31+ and `/dev/kvm`. The installer registers the TenBox apt

scripts/install-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env sh
22
# TenBox one-line installer for Debian-derived systems.
33
#
4-
# curl -fsSL https://tenbox.ai/install.sh | sh
4+
# curl -fsSL https://tenbox.ai/install.sh | sudo sh
55
#
66
# Responsibilities (in order):
77
# 1. Validate platform (Debian-derivative + amd64/arm64 + glibc >= 2.35

website/public/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
# changes -- only cut a new GitHub Release.
77
#
88
# Usage:
9-
# curl -fsSL https://tenbox.ai/install.sh | sh
9+
# curl -fsSL https://tenbox.ai/install.sh | sudo sh
1010
#
1111
# Pin to a specific release:
12-
# curl -fsSL https://tenbox.ai/install.sh | TENBOX_RELEASE_TAG=v0.4.0 sh
12+
# curl -fsSL https://tenbox.ai/install.sh | sudo TENBOX_RELEASE_TAG=v0.4.0 sh
1313

1414
set -eu
1515

website/src/components/InstallSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ import { ref } from 'vue'
9292
const downloadUrlWin = __APP_DOWNLOAD_URL_WIN__
9393
const downloadUrlMac = __APP_DOWNLOAD_URL_MAC__
9494
95-
const linuxCommand = 'curl -fsSL https://tenbox.ai/install.sh | sh'
95+
const linuxCommand = 'curl -fsSL https://tenbox.ai/install.sh | sudo sh'
9696
const copied = ref(false)
9797
9898
let resetTimer = null

website/src/i18n/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"linux": {
8282
"title": "Linux",
8383
"desc": "Debian 11+ / Ubuntu 20.04+ / Raspberry Pi OS 11+ on amd64 / arm64 (validated on Raspberry Pi 5). Requires glibc 2.31+ and /dev/kvm.",
84-
"command": "curl -fsSL https://tenbox.ai/install.sh | sh",
84+
"command": "curl -fsSL https://tenbox.ai/install.sh | sudo sh",
8585
"footnote": "After install, a pairing URL is printed — open the",
8686
"footnote_link": "TenBox Cloud Console",
8787
"footnote_after": "to claim the host and manage it remotely.",

website/src/i18n/zh-CN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"linux": {
8282
"title": "Linux",
8383
"desc": "Debian 11+ / Ubuntu 20.04+ / Raspberry Pi OS 11+,amd64 / arm64(已在 Raspberry Pi 5 上验证),需要 glibc 2.31+ 与 /dev/kvm。",
84-
"command": "curl -fsSL https://tenbox.ai/install.sh | sh",
84+
"command": "curl -fsSL https://tenbox.ai/install.sh | sudo sh",
8585
"footnote": "安装完成后会输出配对 URL,在",
8686
"footnote_link": "TenBox Cloud Console",
8787
"footnote_after": "中绑定主机即可远程管理。",

0 commit comments

Comments
 (0)