title: Can I run Jupyter notebook cells in commandline?
body: <p>I am deploying a Python package, and I would like to run a simple test to see if all cells in my notebook will run without errors.  I would like to test this via commandline as I have issues running a notebook in <code>virtualenv</code>.  Is there are simple command-line way to test this?</p>
  
  <hr>
  
  <p>Note to the moderator:  this question has been marked as a duplicate of <a href="https://stackoverflow.com/questions/35545402/how-to-run-an-ipynb-jupyter-notebook-from-terminal">How to run an .ipynb Jupyter Notebook from terminal?
  </a>.  However, this question was posted (asked Feb 18 '16 at 2:49) several days before that one (asked Feb 22 '16 at 3:35). At most, that post might be marked as a duplicate, and if deemed so, an appropriate action would be to <a href="https://meta.stackoverflow.com/a/309004/4531270">merge the two questions, maintaining this, the original, as the master</a>.  </p>
  
  <p>However, these questions <em>may not</em> be duplicates (the intent of the other author is unclear).  Regardless, this question and it's answers specifically address <strong>executing cells within a jupyter notebook from the terminal</strong>, not simply converting notebooks to python files.  </p>