starting.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .. _starting:
  2. Starting JupyterLab
  3. ===================
  4. Start JupyterLab using:
  5. .. code:: bash
  6. jupyter lab
  7. JupyterLab will open automatically in your browser.
  8. If your notebook files are not in the current directory, you can pass your working directory path as argument when starting JupyterLab. Avoid running it from your root volume (e.g. `C:\` on Windows or `/` on Linux) to limit the risk of modifying system files.
  9. Example:
  10. .. code:: bash
  11. #Windows Example
  12. jupyter lab --app_dir=E:/ --preferred_dir E:/Documents/Somewhere/Else
  13. #Linux Example
  14. jupyter lab --app_dir=/var/ --preferred_dir /var/www/html/example-app/
  15. You may access JupyterLab by entering the notebook server's :ref:`URL <urls>`
  16. into the browser. JupyterLab sessions always reside in a
  17. :ref:`workspace <url-workspaces-ui>`. The default workspace is the main ``/lab`` URL:
  18. .. code-block:: none
  19. http(s)://<server:port>/<lab-location>/lab
  20. Like the classic notebook,
  21. JupyterLab provides a way for users to copy URLs that
  22. :ref:`open a specific notebook or file <url-tree>`. Additionally,
  23. JupyterLab URLs are an advanced part of the user interface that allows for
  24. managing :ref:`workspaces <url-workspaces-ui>`. To learn more about URLs in
  25. Jupyterlab, visit :ref:`urls`.
  26. To open the classic Notebook from JupyterLab, select "Launch Classic Notebook"
  27. from the JupyterLab Help menu, or you can change the URL
  28. from ``/lab`` to ``/tree``.
  29. JupyterLab runs on top of Jupyter Server, so see the `security
  30. section <https://jupyter-server.readthedocs.io/en/latest/operators/security.html>`__
  31. of Jupyter Server's documentation for security-related information.