OS X with brew installed.
brew install elasticsearch
# start from command line
brew services start elasticsearch
# or via LaunchRocket
Before 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