According to the CLI help of ElasticSearch, you can start ElasticSearch in the background with elasticsearch -d
or elasticsearch --daemonize
. This is what I use all the time locally, as it seems to take much less ressources and doesn't need to keep your terminal open.
But how can you stop the daemon with the CLI?