Skip to content

Fork and rebrand curl installer scripts#4

Merged
alexey-pelykh merged 1 commit intomainfrom
feat/installer-scripts
Mar 7, 2026
Merged

Fork and rebrand curl installer scripts#4
alexey-pelykh merged 1 commit intomainfrom
feat/installer-scripts

Conversation

@alexey-pelykh
Copy link
Contributor

Summary

Closes #3

  • Replace placeholder install.sh and install.ps1 with full installer scripts forked from OpenClaw and rebranded for RemoteClaw
  • install.sh (macOS/Linux/WSL): detects OS, installs Node.js 22+ if missing (Homebrew/pacman/NodeSource), installs via npm install -g remoteclaw, handles npm permissions and PATH setup
  • install.sh --local: installs to ~/.remoteclaw/bin without root, adds to PATH in shell rc files
  • install.ps1 (Windows): handles execution policy, installs Node.js via winget/chocolatey/scoop, installs via npm install -g remoteclaw
  • POSIX-compatible preamble in install.sh gracefully handles curl | sh by re-execing under bash (file invocation) or showing a clear error (pipe invocation on non-bash shells)
  • Zero openclaw references in either script

Test plan

  • bash public/install.sh --help prints usage
  • bash public/install.sh --dry-run shows install plan without making changes
  • dash public/install.sh --help re-execs under bash and prints usage
  • head -14 public/install.sh | dash shows clear "bash required" error
  • shellcheck public/install.sh passes clean
  • pwsh -File public/install.ps1 -DryRun shows dry-run message (Windows)
  • grep -ci openclaw public/install.sh public/install.ps1 returns 0 for both

🤖 Generated with Claude Code

Replace placeholder install.sh and install.ps1 with full installer
scripts forked from OpenClaw and rebranded for RemoteClaw.

install.sh (macOS/Linux/WSL):
- Detects OS, installs Node.js 22+ if missing (Homebrew/pacman/NodeSource)
- Installs RemoteClaw via npm install -g remoteclaw
- --local flag installs to ~/.remoteclaw/bin without root
- Handles npm permissions, PATH setup, upgrade detection
- Supports --version, --dry-run, --verbose flags

install.ps1 (Windows PowerShell):
- Handles execution policy restrictions
- Installs Node.js via winget/chocolatey/scoop
- Installs RemoteClaw via npm install -g remoteclaw

Zero openclaw references remain in either script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh merged commit 36f42f0 into main Mar 7, 2026
2 checks passed
@alexey-pelykh alexey-pelykh deleted the feat/installer-scripts branch March 7, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fork and rebrand curl installer scripts

1 participant