@sigaostudios/bootstrap
v1.1.4
Published
Bootstrap installer for Sigao AI DevKit - handles authentication and setup automatically
Downloads
78
Maintainers
Readme
@sigaostudios/bootstrap
🚀 One-command bootstrap for Sigao AI DevKit on fresh systems
This package handles all the prerequisites and authentication needed to run the Sigao CLI on a fresh Linux/WSL system.
What it does
- ✅ Installs Node.js (if not present)
- ✅ Installs GitHub CLI (if not present)
- ✅ Authenticates with GitHub (with read:packages scope)
- ✅ Configures npm to access @sigaostudios packages
- ✅ Launches the Sigao CLI installer
Usage
On a fresh WSL/Linux system, just run:
npx @sigaostudios/bootstrap⚠️ WSL Users with PATH Issues
If you see "CMD.EXE was started" or "apt-get is not recognized", you have Windows npm in your PATH. Use this instead:
# First ensure Linux npm is installed
sudo apt update && sudo apt install -y npm
# Then run with Linux npx explicitly
/usr/bin/npx @sigaostudios/bootstrapThat's it! No need to worry about tokens, authentication, or prerequisites.
Requirements
- Linux or WSL (Windows Subsystem for Linux)
- sudo access (for installing system packages)
- Internet connection
What happens during bootstrap
Prerequisites Check: The bootstrap will check for Node.js and GitHub CLI, installing them if needed.
GitHub Authentication: You'll be prompted to authenticate with GitHub (if not already authenticated). This is done through the GitHub CLI's interactive auth flow.
npm Configuration: The bootstrap automatically configures npm to access the private @sigaostudios packages using your GitHub token.
Sigao CLI Launch: Finally, it launches the main Sigao CLI installer.
For WSL Users
Make sure you're running this inside WSL, not in Windows Command Prompt or PowerShell.
Common Issue: If Windows paths are in your PATH before Linux paths (often from fnm, nvm-windows, or other Windows Node managers), you'll need to use /usr/bin/npx instead of just npx to ensure Linux tools are used.
Troubleshooting
If you encounter issues:
- sudo password: You'll need to enter your sudo password to install system packages
- GitHub auth: Make sure to complete the GitHub authentication flow when prompted
- Network issues: Ensure you have a stable internet connection
Development
This package is part of the Sigao AI DevKit monorepo.
License
MIT
