mirror of
https://github.com/sailor-sh/CK-X.git
synced 2026-07-12 09:09:25 +00:00
feat: fix quick install by switching from process substitution to pipe
The previous command used process substitution: bash <(curl -fsSL ...) This can fail on some systems due to how /dev/fd handles file descriptors, especially when using sudo. The new approach uses a pipe instead: curl -fsSL ... | sudo bash This is more portable and avoids permission issues related to temp files.
This commit is contained in:
@@ -21,7 +21,7 @@ Watch live demo video showcasing the CK-X Simulator in action:
|
||||
|
||||
#### Linux & macOS
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/nishanb/ck-x/master/scripts/install.sh)
|
||||
curl -fsSL https://raw.githubusercontent.com/nishanb/ck-x/master/scripts/install.sh | bash
|
||||
```
|
||||
|
||||
#### Windows ( Windows installation is unstable and not supported yet, may break during setup )
|
||||
|
||||
@@ -17,7 +17,13 @@ This guide provides instructions for deploying the CK-X Simulator on different o
|
||||
Open Terminal and run:
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/nishanb/CK-X/master/scripts/install.sh)
|
||||
curl -fsSL https://raw.githubusercontent.com/nishanb/CK-X/master/scripts/install.sh | bash
|
||||
```
|
||||
|
||||
or, if the current user does not have the permission to run docker commands:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/nishanb/CK-X/master/scripts/install.sh | sudo bash
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
Reference in New Issue
Block a user