Installation
Get up and running with Signaloid CLI in minutes.
Prerequisites
Before installing Signaloid CLI, ensure you have:
- Node.js v22.x or higher (Download)
- npm v6.11.0 or higher (comes with Node.js)
- git installed on your system
- A GitHub Personal Access Token with
read:packagesandreposcopes
Getting a GitHub Access Token
Signaloid CLI is distributed via GitHub Packages. You'll need a personal access token:
- Go to GitHub Settings → Developer settings → Personal access tokens
- Click "Generate new token (classic)"
- Give it a descriptive name (e.g., "Signaloid CLI")
- Select the following scopes:
- ✅
read:packages- Download packages from GitHub Package Registry - ✅
repo- Access private repositories (if needed)
- ✅
- Click "Generate token"
- Copy the token immediately - you won't be able to see it again!
Installation Steps
1. Authenticate with GitHub Packages
Configure npm to use GitHub Packages registry:
echo "Enter your GitHub Access Token:" && \
read -s GITHUB_TOKEN && \
npm config set @signaloid:registry https://npm.pkg.github.com/ && \
npm config set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN
You can also set the token manually:
npm config set @signaloid:registry https://npm.pkg.github.com/
npm config set //npm.pkg.github.com/:_authToken YOUR_TOKEN_HERE
2. Install Signaloid CLI Globally
npm install -g @signaloid/signaloid-cli
3. Verify Installation
Check that the Signaloid CLI is installed correctly:
signaloid-cli --version
Getting Your Signaloid API Key
To use Signaloid CLI, you need an API key from the Signaloid Cloud Developer Platform:
- Go to signaloid.io and log in
- Navigate to Settings → Cloud Engine API
- Click "Generate Key"
- Copy the key and save it securely
- Important: You won't be able to view this key again after leaving the page
First-Time Setup
Authenticate with your API key:
signaloid-cli auth login --api-key YOUR_API_KEY
You should see:
✔ API key authenticated
Hello!
Your API key is stored securely in your config file with restricted permissions (read/write for owner only on Unix systems).
Updating Signaloid CLI
To update to the latest version:
npm update -g @signaloid/signaloid-cli
Check the new version:
signaloid-cli --version
Uninstalling
To remove Signaloid CLI:
npm uninstall -g @signaloid/signaloid-cli
Troubleshooting
"Cannot find module" Error
If you get a module not found error, try clearing npm cache:
npm cache clean --force
npm install -g @signaloid/signaloid-cli
GitHub Authentication Failed
If GitHub authentication fails:
- Verify your token has the correct scopes
- Check that the token hasn't expired
- Try regenerating a new token
Next Steps
Now that you have Signaloid CLI installed:
- Quick Start Guide → - Get up and running quickly
- Authentication → - Learn about authentication methods
- Command Reference → - Explore all commands
If you run into any issues, open an issue on GitHub.