Collaborative editing in JupyterLab
Outcome You configure a JupyterLab application so multiple students can edit the same notebook simultaneously, with edits merging automatically.
Before you start
You have set up a group-work space with one instance per group (see Set up group projects above).
You will use JupyterLab 4.0.0 or later. Collaborative editing is most reliable from this version onward.
In collaborative editing mode, multiple students connect to the same application at the same time and edit files and notebooks together - similar to Google Docs. Edits merge automatically, with no file version conflicts.
Configure the Application
Add a JupyterLab application to the Master Instance of the group-work space (JupyterLab 4 recommended).
In the Master Instance applications view, open the ... Actions menu next to the application.
Click CONFIGURE.
Enable Run in shared mode.
Save the configuration.
Distribute the application to the group instances along with any regular files or instructions.
For the full configuration screen (all shared-mode behaviors, connectivity options, and add-ons), see Reference › Applications.
Last updated
Was this helpful?