First, go to the Pluto main menu. Then, click the โNewโ button. This will create a new empty notebook in the current Pluto session.
Tip
You can right click the โNewโ button, and select โOpen in new tabโ. This will open the new notebook in a new tab, and you can open more notebooks in parallel.
Notebooks are saved automatically when you run code. When you start typing new code in a cell, this code is not yet saved, but when you run the cell, the code is saved.
When there are unsaved changes in a notebook, you will see a button in the top right corner of the notebook โ the โSaveโ button. Clicking this button will run all unsaved cells in one batch, which will automatically save the notebook.
When you first open a Pluto notebook, it opens in safe preview mode. This lets you explore the notebook without running any code yet. In this view, you can:
md""
html""
When youโre ready to run the notebook:
โ ๏ธ Closing the browser tab doesnโt stop the notebook โ it keeps running in the background. This means you can reopen the notebook anytime by navigating back to its URL in Plutoโs main menu, and it will appear exactly as you left it without needing to rerun all the cells.
To actually shut down a notebook:
This will completely shut down the notebook and stop its Julia process, freeing up system resources. The notebook will remain in your list so you can easily reopen it later (it will need to rerun from scratch when you open it again).
To remove a notebook from the list: If you want to clear a notebook from your main menu entirely, click the โforgetโ button on the right side of the notebook entry. This only removes it from the list โ the notebook file itself remains saved on your computer.
Tip: To stop all running notebooks at once, you can close the Pluto server by pressing Ctrl+C in the terminal or command prompt where Pluto is running.
Ctrl+C
To restart a notebook (restart kernel)
If you want to restart a notebook thatโs currently running โ for example, to clear all variables and start fresh โ simply shut it down using the button and then reopen it by clicking on it in the list. This is equivalent to โrestarting the kernelโ in other notebook environments like Jupyter.