title: How to get the intellij version?
body: <p>I would like to automatize plugins installation from command line,chef,puppet,ansible ...</p>
  
  <p>So for this I need to grab plugins archive from <a href="https://plugins.jetbrains.com/plugin/" rel="noreferrer">https://plugins.jetbrains.com/plugin/</a> .</p>
  
  <p>But to get a plugins archive I need to know what is the intellij version link to a given build</p>
  
  <p><strong>Example with scala-plugins:</strong></p>
  
  <p>archive are in <a href="https://plugins.jetbrains.com/files/1347/30658/" rel="noreferrer">https://plugins.jetbrains.com/files/1347/30658/</a>
  and for the intellij build number <strong>163.4396—164</strong>  it's  the version <strong>2016.3.4</strong></p>
  
  <p>So the url to download it is: <a href="https://plugins.jetbrains.com/files/1347/30658/scala-intellij-bin-" rel="noreferrer">https://plugins.jetbrains.com/files/1347/30658/scala-intellij-bin-</a><strong>2016.3.4</strong>.zip</p>
  
  <p><strong>The problem:</strong></p>
  
  <p>I can get build number by reading content of <code>$INTELLIJ_HOME/build.txt</code> </p>
  
  <p>But how to know to which version this build number map ?</p>
  
  <p>Thanks for your help</p>