Skip to main content

Installation Guide

NikCLI supports universal installation across all major package managers with intelligent auto-detection and fallback mechanisms.

Universal Installer

The universal installer automatically detects your system and uses the best available package manager:

Specify Package Manager

Force a specific package manager if needed:

📦 Manual Installation

Choose your preferred package manager:
Requirements:
  • Node.js 18+
  • npm 8+
Requirements:
  • Node.js 18+
  • Yarn 1.22+ or Yarn 3+
Requirements:
  • Node.js 18+
  • pnpm 7+
Requirements:
  • Bun 1.0+

🔧 Development Setup

For contributing to NikCLI or running from source:
Development Scripts:

Development

Building

Testing

Quality

✅ Verification

After installation, verify everything is working:
The first run will create configuration files in ~/.nikcli/ and guide you through initial setup.

🔐 Security Features

Our installers include built-in security measures:

Verification

  • Automatic Node.js version validation
  • Package manager detection and validation
  • Source verification from official npm registry

Safety

  • No elevated privileges required
  • Fallback mechanisms for failed installations
  • No data collection or telemetry

🐛 Troubleshooting

Common Issues

Problem: Permission denied during global installationSolutions:
Problem: Node.js version too oldSolutions:
Problem: Multiple package managers causing conflictsSolutions:
Problem: Installation fails due to network issuesSolutions:

Getting Help

If you encounter issues not covered here:

🎯 Next Steps

Once installation is complete:
1

Configure API Keys

Set up your AI provider API keys for full functionality
2

Try Your First Command

Start with simple file operations to get familiar
3

Explore Agent System

Learn about the Universal Agent and VM Agent
4

Master Advanced Features

Discover planning mode, parallel execution, and more

First Steps

Learn basic commands and workflows

Configuration

Set up API keys and preferences