| Distribution | Version | Status |
|---|---|---|
| Ubuntu | 20.04+ (LTS) | ✅ Fully Supported |
| Debian | 11+ (Bullseye) | ✅ Fully Supported |
| Fedora | 37+ | ✅ Fully Supported |
| Arch Linux | Latest | ✅ Fully Supported |
| Linux Mint | 21+ | ✅ Fully Supported |
| Pop!_OS | 22.04+ | ✅ Fully Supported |
| openSUSE | Leap 15.4+ | |
| CentOS/RHEL | 9+ |
Choose your installation method based on your distribution:
# Update package list
sudo apt update
# Install Node.js using NodeSource
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
# Verify installation
node --version # Should show v20.x.x
npm --versionAlternative: Using nvm (Recommended for development)
# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# Reload shell
source ~/.bashrc # or ~/.zshrc
# Install and use Node.js 20
nvm install 20
nvm use 20
nvm alias default 20# Install Node.js from Fedora repos
sudo dnf install nodejs npm
# Or using NodeSource for latest version
curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash -
sudo dnf install -y nodejs# Install from official repos
sudo pacman -S nodejs npm
# Or using nvm (recommended)
yay -S nvm # If using AUR helper
nvm install 20# Install Node.js
sudo zypper install nodejs20 npm20# Ubuntu/Debian
sudo apt install git
# Fedora
sudo dnf install git
# Arch
sudo pacman -S git
# Verify
git --version# Ubuntu/Debian
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
# Fedora
sudo dnf install gh
# Arch
sudo pacman -S github-cli
# Authenticate
gh auth loginSome npm packages require compilation:
# Ubuntu/Debian
sudo apt install build-essential
# Fedora
sudo dnf groupinstall "Development Tools"
# Arch
sudo pacman -S base-devel-
Open your terminal
-
Navigate to your project directory:
cd ~/projects/my-project
-
Run the installer:
npx github:SynkraAI/aios-core install
If the quick install fails, try manual installation:
# Clone the repository
git clone https://github.com/SynkraAI/aios-core.git ~/.aios-core-source
# Navigate to the source
cd ~/.aios-core-source
# Install dependencies
npm install
# Run installer for your project
node bin/aios-init.js ~/projects/my-projectThe installer automatically:
- ✅ Detects your Linux distribution and applies optimizations
- ✅ Creates necessary directories with proper Unix permissions (755/644)
- ✅ Configures IDE paths for Linux:
- Cursor:
~/.config/Cursor/ - Claude:
~/.claude/ - Windsurf:
~/.config/Windsurf/
- Cursor:
- ✅ Sets up shell scripts with Unix line endings (LF)
- ✅ Respects XDG Base Directory specification
- ✅ Handles symbolic links properly
-
Install Cursor: Download from cursor.sh
# AppImage method chmod +x cursor-*.AppImage ./cursor-*.AppImage
-
IDE rules are installed to
.cursor/rules/ -
Keyboard shortcut:
Ctrl+Lto open chat -
Use
@agent-nameto activate agents
-
Install Claude Code:
npm install -g @anthropic-ai/claude-code
-
Commands are installed to
.claude/commands/AIOS/ -
Use
/agent-nameto activate agents
- Install from codeium.com/windsurf
- Rules are installed to
.windsurf/rules/ - Use
@agent-nameto activate agents
- Install Continue extension
- Configure AIOS rules in
.continue/
# Fix npm global permissions (recommended method)
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
# Alternative: Fix ownership (if using sudo for npm)
sudo chown -R $(whoami) ~/.npm
sudo chown -R $(whoami) /usr/local/lib/node_modulesIf you see EACCES: permission denied:
# Option 1: Use npm prefix (recommended)
npm config set prefix '~/.local'
export PATH="$HOME/.local/bin:$PATH"
# Option 2: Fix project permissions
chmod -R u+rwX .aios-core
chmod -R u+rwX .claudeThese are usually harmless. To suppress:
npm install --no-warnings# Check current auth status
gh auth status
# Re-authenticate if needed
gh auth login --web
# For SSH-based authentication
gh auth login -p sshIf npm install is slow:
# Use a faster registry mirror
npm config set registry https://registry.npmmirror.com
# Or increase timeout
npm config set fetch-timeout 60000# Ubuntu/Debian
sudo apt install libsecret-1-dev
# Fedora
sudo dnf install libsecret-devel
# Arch
sudo pacman -S libsecretIf running in Windows Subsystem for Linux:
# Ensure Windows paths don't interfere
echo 'export PATH=$(echo "$PATH" | tr ":" "\n" | grep -v "^/mnt/c" | tr "\n" ":")' >> ~/.bashrc
# Fix line ending issues
git config --global core.autocrlf input
# Performance: Move project to Linux filesystem
# Use ~/projects instead of /mnt/c/projects# Node.js configuration
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# npm global packages
export PATH="$HOME/.npm-global/bin:$PATH"
# AIOS configuration
export AIOS_HOME="$HOME/.aios-core"
export PATH="$AIOS_HOME/bin:$PATH"
# Editor preference (for git commits, etc.)
export EDITOR=vim # or code, nano, etc.Synkra AIOS respects XDG directories:
# Data files: ~/.local/share/aios/
# Config files: ~/.config/aios/
# Cache: ~/.cache/aios/
# State: ~/.local/state/aios/To update an existing installation:
# Using npx (recommended)
npx github:SynkraAI/aios-core install
# Manual update
cd ~/.aios-core-source
git pull
npm install
node bin/aios-init.js ~/projects/my-project --updateThe updater will:
- Detect your existing installation
- Back up any customizations to
.aios-backup/ - Update only changed files
- Preserve your configurations
See the complete Uninstallation Guide for detailed steps.
Quick uninstall:
# Remove AIOS from a project
rm -rf .aios-core .claude/commands/AIOS
# Remove global installation
rm -rf ~/.aios-core-source ~/.npm-global/lib/node_modules/@synkra| Requirement | Minimum | Recommended |
|---|---|---|
| Kernel | 4.15+ | 5.10+ |
| RAM | 2GB | 8GB |
| Disk Space | 500MB | 2GB |
| Node.js | 18.x | 20.x LTS |
| npm | 9.x | 10.x |
- Pre-installed Python may conflict with some npm packages
- Use
deadsnakesPPA for newer Python if needed
- SELinux may require additional configuration for some operations
- Use
sudo setenforce 0temporarily if blocked
- Packages are always cutting-edge; test thoroughly
- AUR packages may be needed for some IDEs
- Use WSL2 for better performance
- Store projects in
/home/user/not/mnt/c/ - Configure
.wslconfigfor memory limits
- Configure your IDE (see IDE-specific setup above)
- Run
*helpin your AI agent to see available commands - Start with the User Guide
- Join our Discord Community for help