https://www.elastic.co/downloads/elasticsearch
You can add the path to the environment variable or run C:\Users\hp\elasticsearch-8.15.2-windows-x86_64\elasticsearch-8.15.2\bin\elasticsearch in the cmd
Create user access by navigating to the folder specified below:
C:\Users\hp\elasticsearch-8.15.2-windows-x86_64\elasticsearch-8.15.2\config
and run:
elasticsearch-users useradd
However, for other client with Linux or Mac operating system, there is some few changes in the starting of the elastic server, kindly do some search on google.