Copy-ready entrypoints for the scripts in this repository. The commands below fetch the current main branch from GitHub.
These scripts can install packages, change system configuration, or modify SSH access. Review downloaded scripts before running them on a machine you own or administer. The one-line forms are convenience shortcuts for trusted, disposable, or already-reviewed environments.
| Script | Purpose | Intended environments |
|---|---|---|
bootstrap-linux.sh |
General Linux bootstrap with optional modules | Linux |
bootstrap-linux-daed.sh |
Linux bootstrap with the network-daed module enabled by default |
Linux |
bootstrap-macbook.sh |
macOS developer-tool and desktop bootstrap | macOS |
deploy-ssh-keys.sh |
Import the GPG key, update authorized_keys, and enable periodic sync |
Linux with systemd, Termux |
fetch-ssh-pub-key.sh |
Fetch and print or save the SSH public key derived from GPG | Bash + GPG environments |
BASE_URL="https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main"$BaseUrl = "https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main"Convenience form:
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/bootstrap-linux.sh | bashReview-first form:
curl -fsSLo bootstrap-linux.sh https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/bootstrap-linux.sh
less bootstrap-linux.sh
bash bootstrap-linux.shSelect optional modules explicitly for a non-interactive run:
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/bootstrap-linux.sh \
| BOOTSTRAP_FEATURES=network-daed,shell bashSupported optional modules include network-daed, fs-bees, shell, and cn-desktop.
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/bootstrap-linux-daed.sh | bashThis wrapper verifies and launches bootstrap-linux.sh with network-daed enabled by default.
Run this as a normal administrator user, not with sudo:
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/bootstrap-macbook.sh | bashReview-first form:
curl -fsSLo bootstrap-macbook.sh https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/bootstrap-macbook.sh
less bootstrap-macbook.sh
bash bootstrap-macbook.shInstall the required command-line tools first:
pkg update
pkg install curl gnupgDeploy the managed SSH key block and its periodic sync helper:
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/deploy-ssh-keys.sh | bashFetch only the SSH public key:
mkdir -p "$HOME/.ssh"
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/fetch-ssh-pub-key.sh \
| bash -s -- --output "$HOME/.ssh/lightjunction.pub"The deployment script detects Termux through its standard home path and does not install a systemd unit there.
The repository entrypoints are Bash scripts. Native PowerShell can download and review them, but Linux bootstrap actions should run inside WSL.
wsl.exe bash -lc 'curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/bootstrap-linux.sh | bash'Fetch the SSH public key through WSL:
wsl.exe bash -lc 'curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/fetch-ssh-pub-key.sh | bash'$BaseUrl = "https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main"
$ScriptPath = Join-Path $env:TEMP "lightjunction-bootstrap-linux.sh"
Invoke-WebRequest -Uri "$BaseUrl/bootstrap-linux.sh" -OutFile $ScriptPath
Get-Content -Path $ScriptPath
$WslPath = (wsl.exe wslpath -a $ScriptPath).Trim()
wsl.exe bash $WslPathGit Bash can download and inspect the files, but the Linux and macOS bootstrap entrypoints intentionally reject unsupported operating systems. Use WSL for Linux bootstrap work.
For a Bash + GPG environment such as a remote server, fetch the SSH public key without changing authorized_keys:
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/fetch-ssh-pub-key.sh | bashSave it to a file instead:
curl -fsSL https://raw.githubusercontent.com/LIghtJUNction/lightjunction/main/fetch-ssh-pub-key.sh \
| bash -s -- --output "$HOME/.ssh/lightjunction.pub"The Linux bootstrap requires Linux, the macOS bootstrap requires macOS, and SSH deployment requires either systemd or Termux.
For a reviewable and reproducible run, download a specific commit rather than tracking main:
REVISION="<reviewed-commit-sha>"
curl -fsSLo script.sh "https://raw.githubusercontent.com/LIghtJUNction/lightjunction/$REVISION/bootstrap-linux.sh"
less script.sh
bash script.shNever provide private keys, seed phrases, passwords, recovery codes, or production credentials to these scripts.