npx aios-core@latestThis command downloads and runs the latest version of AIOS-Core installer.
| Requirement | Minimum Version | Check Command |
|---|---|---|
| Node.js | v18.0.0+ | node --version |
| npm | v9.0.0+ | npm --version |
| npx | (included with npm 5.2+) | npx --version |
| Git | Any recent version (optional) | git --version |
- Node.js: https://nodejs.org/ (Download LTS version - includes npm & npx)
- Git: https://git-scm.com/ (Optional, but recommended)
# Install in current directory
npx aios-core@latest
# Install with specific version
npx aios-core@2.2.0
# Show version
npx aios-core@latest --version
# Show help
npx aios-core@latest --helpnpx github:SynkraAI/aios-core installnpm install -g aios-core
aios-coreIf you're having installation issues, run our diagnostic tool:
curl -o diagnose.cmd https://raw.githubusercontent.com/SynkraAI/aios-core/main/tools/quick-diagnose.cmd && diagnose.cmdirm https://raw.githubusercontent.com/SynkraAI/aios-core/main/tools/quick-diagnose.ps1 | iexcurl -fsSL https://raw.githubusercontent.com/SynkraAI/aios-core/main/tools/diagnose-installation.js | nodeError:
error engine Unsupported engine
error notsup Required: {"node":">=18.0.0"}
Solution:
- Download Node.js LTS from https://nodejs.org/
- Install and restart your terminal
- Verify:
node --version(should show v18+ or v20+)
Error:
npm ERR! Required: {"npm":">=9.0.0"}
Solution:
# Update npm globally
npm install -g npm@latest
# Verify
npm --versionCause: npm bin folder not in system PATH
Solution (Windows):
- Find npm prefix:
npm config get prefix - Add to PATH:
- Press Win+X → System → Advanced system settings → Environment Variables
- Edit "Path" under User variables
- Add:
C:\Users\YOUR_USERNAME\AppData\Roaming\npm
- Restart terminal
Solution (macOS/Linux):
# Add to ~/.bashrc or ~/.zshrc
export PATH="$PATH:$(npm config get prefix)/bin"
# Reload
source ~/.bashrcSolution (Windows): Run terminal as Administrator
Solution (macOS/Linux):
# Fix npm permissions (recommended)
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
# Or use nvm (best practice)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bashCause: Network/firewall blocking npm registry
Solutions:
-
Check npm registry:
npm config get registry # Should be: https://registry.npmjs.org/ -
Reset registry:
npm config set registry https://registry.npmjs.org/ -
Test connectivity:
npm ping
-
Behind corporate proxy:
npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080
-
Use mirror (China):
npm config set registry https://registry.npmmirror.com
Error:
File cannot be loaded because running scripts is disabled on this system
Solution:
# Run as Administrator
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserSolution:
# Clear npm cache
npm cache clean --force
# Remove node_modules if exists
rm -rf node_modules
# Try again
npx aios-core@latestSolution:
# Temporarily disable strict SSL (not recommended for production)
npm config set strict-ssl false
# Better: Update certificates
npm config set cafile /path/to/certificate.pemCause: npm cache serving old version
Solution:
# Clear npx cache
npx clear-npx-cache
# Or force fresh download
npx --ignore-existing aios-core@latest
# Or use specific version
npx aios-core@2.2.0Run these commands to verify your environment:
# 1. Check Node.js (need v18+)
node --version
# 2. Check npm (need v9+)
npm --version
# 3. Check npx
npx --version
# 4. Check npm registry access
npm view aios-core version
# 5. Test installation
npx aios-core@latest --versionExpected output:
v22.x.x (or v18+/v20+)
11.x.x (or v9+)
11.x.x (same as npm)
2.2.0
2.2.0
If you're still having issues:
- GitHub Issues: https://github.com/SynkraAI/aios-core/issues
- Run diagnostics:
npx aios-core@latest doctor - Check system info:
npx aios-core@latest info
When reporting issues, please include:
- Operating system and version
- Node.js version (
node --version) - npm version (
npm --version) - Full error message
- Output of diagnostic tool
| Command | Description |
|---|---|
npx aios-core@latest |
Install/run wizard |
npx aios-core@latest --version |
Show version |
npx aios-core@latest --help |
Show help |
npx aios-core@latest install |
Install in current dir |
npx aios-core@latest init <name> |
Create new project |
npx aios-core@latest doctor |
Run diagnostics |
npx aios-core@latest info |
Show system info |
Last updated: December 2025 | AIOS-Core v2.2.0