Search code examples
pythonjupyter-notebookjupyter-lab

How to start Jupyter Lab in current directory without changing defaults?


I have a default directory for my Jupyter Notebooks, and I put it in the Jupyter settings. So by default jupytr lab command starts my Jupyter where I need it to start.

However, sometimes I work on separate projects, and it is convenient to start Jupyter in a current working directory from a command line.

Is there an easy command to do so?

Similar question: Change IPython/Jupyter notebook working directory


Solution

  • jupyter lab .


    Original Answer:
    Adding on to @queezz, jupyter lab --notebook-dir=. works too because . represents current directory.
    Even jupyter lab . works