Export analysis report on Jupiter Notebook without code input cells

Hi all,
I’m learning Python path for data analyis using Jupiter Notebook. Now , I have some reports that coding on jupyter and I want to export it to pdf without coding input cells. I read some instruments on Internet but it’s quite not understandable to me. First, I need to install jupyter nbextension

conda install -c conda-forge jupyter_contrib_nbextensions

and then install hide_code

  1. pip install hide_code
  2. jupyter nbextension install --py hide_code
  3. jupyter nbextension enable --py hide_code
  4. jupyter serverextension enable --py hide_code

The problem is I do not know type these command lines in which and save the extension files on which folders ?
Could you help me a step by step instrument ?
Thank you

You can copy run these 2 lines from here:https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user

Then restart your kernel, and you will see Nbextensions tab appear, and check the Hide input box, then you will be able to hide after opening a ipynb and see a new hide input button at the top of notebook
.