You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 04398ea
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/about/installation.mdx
+78-2Lines changed: 78 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,10 @@ Install OpenShell with a single command:
16
16
curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh
17
17
```
18
18
19
-
The script detects your operating system and installs the OpenShell CLI and gateway with your native package manager. It then starts the local gateway server so you can begin creating sandboxes.
19
+
The script detects your operating system and installs the OpenShell CLI and
20
+
gateway. On Linux, the Snap path is preferred when `snapd` is available;
21
+
otherwise the script uses the native DEB or RPM package. The gateway then
22
+
starts automatically so you can begin creating sandboxes.
20
23
21
24
You can also download release artifacts directly from the [OpenShell GitHub Releases](https://github.com/NVIDIA/OpenShell/releases) page.
On distributions that ship with `snapd`, the install script uses the Snap path
58
+
described below, provided no non-snap Docker is detected. If a native Docker
59
+
package is present, the installer exits with an error and recommends installing
60
+
via DEB or RPM instead. On hosts without `snapd` (or with
61
+
`OPENSHELL_INSTALL_METHOD=classic` set), the script falls back to the classic
62
+
package manager.
63
+
54
64
On Fedora and RHEL, the install script uses RPM packages. The RPM installs the `openshell` CLI, the `openshell-gateway` daemon, and a systemd user service.
55
65
56
66
On Debian and Ubuntu, the install script uses a Debian package. The Debian package installs the `openshell` CLI, the `openshell-gateway` daemon, VM sandbox support, and a systemd user service.
The gateway listens on `https://127.0.0.1:17670` and stores its state under
184
+
`/var/snap/openshell/common/`. Override gateway settings by creating
185
+
`/var/snap/openshell/common/gateway.toml`.
186
+
126
187
### Gateway service
127
188
128
189
The gateway runs as a snap daemon with `refresh-mode: endure`, meaning snapd
@@ -134,6 +195,21 @@ a snap refresh when you need the updated binary:
134
195
sudo systemctl restart snap.openshell.gateway
135
196
```
136
197
198
+
### When to choose Snap
199
+
200
+
Use Snap when `snapd` is available and no native Docker Engine is installed,
201
+
and you want atomic upgrades and rollback, a single self-contained install that
202
+
bundles the Docker provider, or a desktop launcher that surfaces the OpenShell
203
+
terminal UI in the application menu.
204
+
205
+
Use DEB or RPM when `snapd` is unavailable or presents temporary limitations
206
+
awaiting snapd 2.76 release: `systemd --user` integration for the gateway, or
207
+
when you already run Docker Engine from a non-snap source. The installer will
208
+
refuse Snap installs on hosts with native Docker — use the DEB or RPM package
209
+
instead.
210
+
211
+
Set `OPENSHELL_INSTALL_METHOD=classic` to force the classic package on hosts
212
+
that also have `snapd` available.
137
213
## Kubernetes
138
214
139
215
Kubernetes deployments use the OpenShell Helm chart. For step-by-step installation, refer to [Kubernetes Setup](/kubernetes/setup). For chart values and packaging details, refer to the [Helm chart README](https://github.com/NVIDIA/OpenShell/blob/main/deploy/helm/openshell/README.md).
0 commit comments