install elastic search on your system code example
Example 1: install elastic search ubuntu
sudo apt install elasticsearch
Example 2: install elastic search ubuntu
sudo apt update
sudo apt install elasticsearch
sudo apt update