scorpiox-executecurl Network
Execute curl-based installation and setup scripts interactively with safety checks, preview, and confirmation prompts before piping to shell.
Supported Platforms
Linux x64
Linux ARM64
macOS ARM64
Windows x64
Flags & Options
| Flag |
Short |
Description |
Takes Value |
| --help |
-h |
Show help information and usage instructions |
Yes |
Usage Examples
Basic — Execute a remote install script
$ scorpiox-executecurl https://get.example.com/install.sh
Fetching script from https://get.example.com/install.sh ...
Previewing script content (first 50 lines):
────────────────────────────────────────
#!/bin/bash
set -e
echo "Installing example-tool v2.1.0..."
curl -fsSL https://releases.example.com/v2.1.0/bin -o /usr/local/bin/example-tool
chmod +x /usr/local/bin/example-tool
────────────────────────────────────────
Execute this script? [y/N]: y
Installing example-tool v2.1.0...
✓ Installation complete.
Execute a ScorpioX installer
$ scorpiox-executecurl "https://get.scorpiox.net?platform=linux"
Fetching script from https://get.scorpiox.net?platform=linux ...
Previewing script content (first 50 lines):
────────────────────────────────────────
#!/bin/bash
# ScorpioX Code installer for Linux
...
────────────────────────────────────────
Execute this script? [y/N]: y
Downloading scorpiox binaries...
✓ ScorpioX Code installed to /usr/local/bin/
Inspect a script without executing
$ scorpiox-executecurl https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh
Fetching script from https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh ...
Previewing script content (first 50 lines):
────────────────────────────────────────
#!/usr/bin/env bash
# nvm install script
NVM_DIR="$HOME/.nvm"
...
────────────────────────────────────────
Execute this script? [y/N]: n
Aborted. Script was NOT executed.
Pipe-safe alternative to curl | bash
$ scorpiox-executecurl https://example.com/setup.sh
Fetching script from https://example.com/setup.sh ...
⚠ Script contains 'sudo' — elevated privileges will be requested.
⚠ Script size: 2.4 KB (87 lines)
Previewing script content (first 50 lines):
────────────────────────────────────────
#!/bin/bash
sudo apt-get update && sudo apt-get install -y build-essential
...
────────────────────────────────────────
Execute this script? [y/N]: y
[sudo] password for user: ****
✓ Setup complete.
Display help
$ scorpiox-executecurl --help
scorpiox-executecurl — Interactive curl script executor
USAGE:
scorpiox-executecurl [OPTIONS] <URL>
DESCRIPTION:
Fetches a script from a remote URL, displays a preview
of its contents, and prompts for confirmation before
executing it locally. A safer alternative to curl | bash.
OPTIONS:
-h, --help Show this help message
Source & Build Info
Source File
scorpiox/scorpiox-executecurl.c