Before starting the installation of Evolution API v2, ensure that you have already configured the necessary services, such as PostgreSQL and Redis. Follow the links below for more details:
Evolution API can be easily installed using Node Version Manager (NVM). Follow these steps to set up your environment and start the Evolution API on your server.
After setting up the environment, you will need to generate the Prisma client files and deploy the migrations to the database. Use the following commands, depending on the database you are using (PostgreSQL or MySQL):
This is recommended for servers with at least 4GB of RAM exclusively available for the Evolution API.
To verify that the API is running, visit http://localhost:8080. You should see the following response:
Copy
{ "status": 200, "message": "Welcome to the Evolution API, it is working!", "version": "2.0.10", "clientName": "evolution01", "manager": "https://evo2.site.com/manager", "documentation": "https://doc.evolution-api.com"}