OS X with brew installed.
brew install elasticsearch# start from command line
brew services start elasticsearch
# or via LaunchRocketBefore start the service, edit /usr/local/etc/elasticsearch/elasticsearch.yml
# add CORs for local development use
http.cors.enabled: true
http.cors.allow-origin: "*"https://github.com/elastic/kibana
https://github.com/mobz/elasticsearch-head
Api Ref: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html