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
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ You can customize your installation by providing the following optional paramete
69
69
Example with optional parameters:
70
70
71
71
```bash
72
-
nixopus install \
72
+
sudo nixopus install \
73
73
--api-domain nixopusapi.example.tld \
74
74
--view-domain nixopus.example.tld \
75
75
--verbose \
@@ -79,11 +79,14 @@ nixopus install \
79
79
Example for custom ip setup:
80
80
81
81
```bash
82
-
nixopus install \
82
+
sudo nixopus install \
83
83
--host-ip 10.0.0.154 \
84
84
--verbose
85
85
```
86
86
87
+
> [!NOTE]
88
+
> Running `nixopus install` requires root privileges (sudo) to install system dependencies like Docker. If you encounter permission errors, make sure to run the command with `sudo`.
89
+
87
90
You can also install the CLI and run `nixopus install` with options in a single command, refer [installation documentation](https://docs.nixopus.com/install/#installation-options) for more details on options
Copy file name to clipboardExpand all lines: docs/cli/installation.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,11 +190,11 @@ Once the CLI is installed, you can use it to install Nixopus on your VPS:
190
190
::: code-group
191
191
192
192
```bash [Basic Installation]
193
-
nixopus install
193
+
sudo nixopus install
194
194
```
195
195
196
196
```bash [With Custom Domains]
197
-
nixopus install \
197
+
sudo nixopus install \
198
198
--api-domain api.example.com \
199
199
--view-domain app.example.com \
200
200
--verbose
@@ -205,11 +205,15 @@ nixopus preflight
205
205
```
206
206
207
207
```bash [Install Dependencies Only]
208
-
nixopus install deps
208
+
sudo nixopus install deps
209
209
```
210
210
211
211
:::
212
212
213
+
::: warning Root Privileges Required
214
+
The `nixopus install` command requires root privileges to install system dependencies like Docker. Always use `sudo` unless you're already running as root. If you encounter permission errors or "exit status 100", ensure you're using sudo.
215
+
:::
216
+
213
217
::: tip Preflight Check
214
218
Always run `nixopus preflight` before installation to verify your system meets all requirements. This can save time by catching issues early.
Once the CLI is installed, you can install Nixopus on your VPS:
62
62
63
63
```bash
64
-
nixopus install
64
+
sudo nixopus install
65
65
```
66
66
67
+
::: warning Sudo Required
68
+
Running `nixopus install` requires root privileges to install system dependencies (like Docker). Always use `sudo` when running the install command. If you encounter "exit status 100" or permission errors, ensure you're using sudo.
69
+
:::
70
+
67
71
::: info CLI Verification
68
72
Before proceeding, verify the CLI is working:
69
73
```bash
@@ -251,27 +255,37 @@ If you've already installed the CLI separately, you can run `nixopus install` di
251
255
::: code-group
252
256
253
257
```bash [With Domains]
254
-
nixopus install \
258
+
sudo nixopus install \
255
259
--api-domain api.example.com \
256
260
--view-domain example.com \
257
261
--verbose
258
262
```
259
263
260
264
```bash [With IP]
261
-
nixopus install \
265
+
sudo nixopus install \
262
266
--host-ip 192.168.1.100 \
263
267
--verbose
264
268
```
265
269
266
270
```bash [Custom Ports]
267
-
nixopus install \
271
+
sudo nixopus install \
268
272
--api-port 9000 \
269
273
--view-port 9001 \
270
274
--timeout 600
271
275
```
272
276
273
277
:::
274
278
279
+
::: tip Why Sudo?
280
+
The `nixopus install` command needs root privileges to:
281
+
282
+
- Install Docker and other system dependencies
283
+
- Configure system-level services
284
+
- Set up network configurations
285
+
286
+
If you're already running as root user, you can omit `sudo`.
287
+
:::
288
+
275
289
## Accessing Nixopus
276
290
277
291
After successful installation, access your Nixopus instance:
0 commit comments