System Requirements
Before installing NapCat, ensure your system meets these requirements:Minimum Requirements
- Operating System: Windows 10+, macOS 10.15+, or Linux (Ubuntu 20.04+, Debian 11+, etc.)
- Node.js: Version 18.0.0 or higher
- Memory: 512MB RAM minimum, 1GB recommended
- Storage: 200MB available disk space
- QQ: Latest version of QQ installed (for Framework mode)
Recommended Requirements
- Memory: 2GB RAM or more for better performance
- Storage: 1GB available disk space for logs and cache
- Network: Stable internet connection
NapCat supports both Shell Mode (standalone) and Framework Mode (QQ plugin). Choose the mode that best fits your deployment needs.
Download NapCat
Visit GitHub Releases
Go to the NapCat GitHub Releases page to download the latest version.
Choose your platform
Download the appropriate package for your operating system:
- Windows
- macOS
- Linux
NapCat-win-x64.zipfor 64-bit Windows- Extract to a folder like
C:\NapCat
Installation Methods
NapCat supports two deployment modes. Choose the one that fits your needs:- Framework Mode (Recommended)
- Shell Mode
- Docker
Framework Mode Installation
Framework Mode runs NapCat as a plugin injected into QQ, providing the best compatibility and features.Prerequisites
- QQ installed on your system
- QQ version must match NapCat compatibility (check release notes)
Installation Steps
Install QQ
Download and install the latest version of QQ from the official QQ website.
Create configuration
Create the configuration directory and files:Create Create
config/napcat.json:config/napcat.json
config/onebot11.json:config/onebot11.json
Launch NapCat
Run NapCat in Framework mode:
NapCat will automatically detect your QQ installation and inject itself as a plugin.
Framework Mode Features
✅ Multiple login methods (QR code, password, quick login)✅ Rich WebUI for management
✅ Access to all QQ features
✅ Best compatibility with QQ
✅ Suitable for desktop environments
Directory Structure
After installation, your NapCat directory should look like this:Configuration Files
napcat.json
Core NapCat configuration:config/napcat.json
onebot11.json
OneBot 11 protocol configuration:config/onebot11.json
Post-Installation
Verify installation
Check that NapCat is running:You should receive a JSON response with the bot status.
Set up authentication (recommended)
Add a secret token to your Restart NapCat for changes to take effect.
onebot11.json:Updating NapCat
To update NapCat to a new version:Download new version
Download the latest release from GitHub and extract it to the same directory (replace old files).
Troubleshooting
Permission denied on Linux/macOS
Permission denied on Linux/macOS
Make the executable file executable:
Port already in use
Port already in use
Change the port numbers in
config/onebot11.json to available ports.QQ not detected (Framework mode)
QQ not detected (Framework mode)
Ensure:
- QQ is installed in the default location
- You’re using a compatible QQ version
- QQ is not running when you start NapCat
Failed to start WebUI
Failed to start WebUI
Check:
- Port 6099 is not in use
- Firewall allows connections
- WebUI is not disabled in configuration
Next Steps
Quickstart
Follow the quickstart guide to send your first message
Configuration
Learn about all configuration options
Deployment
Deploy NapCat to production
Login Methods
Explore different ways to log in
