Prerequisites
Before starting, ensure you have:- Node.js 24.5.0 or later
- npm or yarn package manager
- A running SearxNG instance with JSON format enabled
- Python 3 (for SearxNG)
Installation steps
Set up SearxNG
Install SearxNG and configure it to allow JSON format. Make sure the Wolfram Alpha search engine is enabled in your SearxNG settings.For SearxNG installation instructions, visit the SearxNG documentation.
Configure settings
Open your browser and navigate to http://localhost:3000 to complete the setup. Configure your settings including:
- API keys for your chosen LLM provider
- Model selection
- SearxNG URL (should point to your SearxNG instance)
Running in development mode
For development or testing purposes, you can run Perplexica in development mode:SearxNG configuration
Your SearxNG instance must be properly configured for Perplexica to work:Enable JSON format
Enable JSON format
In your SearxNG
settings.yml, ensure JSON format is enabled:Enable Wolfram Alpha
Enable Wolfram Alpha
Perplexica uses Wolfram Alpha for mathematical calculations and data lookups. Enable it in your SearxNG configuration.
Network accessibility
Network accessibility
If running SearxNG on the same machine, ensure it’s accessible at the URL you configure in Perplexica (typically http://localhost:8080).
Managing the application
File locations
When running manually, Perplexica stores data in the following locations:- Application data:
./data/directory in your installation folder - Uploaded files:
./uploads/directory (created automatically) - Database: SQLite database in
./data/
Make sure these directories have appropriate read/write permissions for the user running the application.
Production deployment
For production deployments without Docker:- Use a process manager like PM2 to keep the application running:
- Set up a reverse proxy (nginx or Apache) to handle SSL/TLS
- Configure firewall rules to allow traffic on port 3000 (or your chosen port)
- Ensure SearxNG is running as a system service
Next steps
Updating
Keep your installation current
Troubleshooting
Resolve common issues