title: How to get JUST the Elasticsearch server version from the command line
body: <p>Is there way to get JUST the version number for an Elasticsearch server. I know you get the JSON request data but is there a way to parse that request get the version number only.</p>
  
  <p><em>curl localhost:9200</em></p>
  
  <pre><code>{
      ...
      "version": {
          ...
          "number": "2.1.1"
      }
  }
  </code></pre>