Skip to main content

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)
  • 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

1

Visit GitHub Releases

Go to the NapCat GitHub Releases page to download the latest version.
2

Choose your platform

Download the appropriate package for your operating system:
  • NapCat-win-x64.zip for 64-bit Windows
  • Extract to a folder like C:\NapCat
3

Verify the download

Check that you have the main executable:
  • Windows: napcat.exe
  • Linux/macOS: napcat

Installation Methods

NapCat supports two deployment modes. Choose the one that fits your needs:

Directory Structure

After installation, your NapCat directory should look like this:

Configuration Files

napcat.json

Core NapCat configuration:
config/napcat.json
See NapCat Configuration for details.

onebot11.json

OneBot 11 protocol configuration:
config/onebot11.json
See OneBot Configuration for details.

Post-Installation

1

Verify installation

Check that NapCat is running:
You should receive a JSON response with the bot status.
2

Set up authentication (recommended)

Add a secret token to your onebot11.json:
Restart NapCat for changes to take effect.
3

Configure firewall

If deploying on a server, configure your firewall to allow:
  • Port 3000 (HTTP API)
  • Port 3001 (WebSocket)
  • Port 6099 (WebUI)

Updating NapCat

To update NapCat to a new version:
1

Stop NapCat

Stop the running NapCat process (Ctrl+C or stop the service).
2

Backup configuration

3

Download new version

Download the latest release from GitHub and extract it to the same directory (replace old files).
4

Restart NapCat

Launch NapCat again with your preferred mode.
5

Verify update

Check the version:

Troubleshooting

Make the executable file executable:
Change the port numbers in config/onebot11.json to available ports.
Ensure:
  • QQ is installed in the default location
  • You’re using a compatible QQ version
  • QQ is not running when you start NapCat
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