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 a95c5fd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/about/installation.mdx
+86-1Lines changed: 86 additions & 1 deletion
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.
@@ -75,6 +85,81 @@ To keep the user service running after logout, enable linger:
75
85
sudo loginctl enable-linger $USER
76
86
```
77
87
88
+
## Snap
89
+
90
+
On Linux distributions that ship with `snapd`, the install script installs
91
+
OpenShell from the Snap Store. The OpenShell snap bundles the CLI, the terminal
92
+
UI, and a managed gateway daemon. snapd handles upgrades and rollback; the
93
+
gateway runs as a system service inside the snap.
94
+
95
+
You can also install the snap directly:
96
+
97
+
```shell
98
+
sudo snap install openshell
99
+
```
100
+
101
+
The snap requires the Docker snap. `default-provider: docker` on the OpenShell
102
+
snap installs the Docker snap automatically on first use, but you can install
103
+
it up front with:
104
+
105
+
```shell
106
+
sudo snap install docker
107
+
```
108
+
109
+
### Connect the required interfaces
110
+
111
+
Strict confinement requires explicit `snap connect` for several interfaces. The
112
+
installer runs these for you on Snap installs; run them by hand if you install
The gateway listens on `https://127.0.0.1:17670` and stores its state under
144
+
`/var/snap/openshell/common/`. Override gateway settings by creating
145
+
`/var/snap/openshell/common/gateway.toml`.
146
+
147
+
### When to choose Snap
148
+
149
+
Use Snap when `snapd` is available and no native Docker Engine is installed,
150
+
and you want atomic upgrades and rollback, a single self-contained install that
151
+
bundles the Docker provider, or a desktop launcher that surfaces the OpenShell
152
+
terminal UI in the application menu.
153
+
154
+
Use DEB or RPM when `snapd` is unavailable or presents temporary limitations
155
+
awaiting snapd 2.76 release: `systemd --user` integration for the gateway, or
156
+
when you already run Docker Engine from a non-snap source. The installer will
157
+
refuse Snap installs on hosts with native Docker — use the DEB or RPM package
158
+
instead.
159
+
160
+
Set `OPENSHELL_INSTALL_METHOD=classic` to force the classic package on hosts
161
+
that also have `snapd` available.
162
+
78
163
## Kubernetes
79
164
80
165
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