title: Can Jenkins be installed with the command line (not the GUI)?
body: <p>I am writing a script to set up Jenkins instances, but I could not find a non-GUI way to perform the "initial installation", which comprises the "unlocking" with the initial admin password and selecting plugins (see image).</p>
  
  <p><a href="https://i.stack.imgur.com/xfK1R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xfK1R.png" alt="Jenkins installation wizard GUI"></a></p>
  
  <p>My question is: is there a way to do this with the command line, something like:</p>
  
  <pre><code># this is an example, it does not work
  ./var/jenkins_home/scripts/install-jenkins.sh standard
  </code></pre>