Skip to content

πŸ”Ž Basic Commands in Pluto

Deeptendu Santra edited this page Nov 24, 2020 · 2 revisions

Basic Commands in Pluto

1. Opening a new Pluto Notebook HomePage

Open julia in your terminal and type :

using Pluto;   Pluto.run()

The pluto homepage/main-menu opens up in your default browser.

2. Creating a new notebook

3. Adding a cell

To insert a new cell, you can either:

  1. Press Ctrl+Enter, which runs the current cell and inserts a new cell just below the current cell.

  2. Click on the + button present at the bottom left corner of the cell.

4. Running a cell

To run a cell, you can either :

  1. Press Shift+Enter(to run the current cell).

  2. Press Ctrl+Enter(to run the current cell and add a new cell just below it).

  3. Click on the ▢️ button present at the bottom right corner of the cell.

5. Delete a cell

To delete a cell, you can either :

  1. Press delete(and/or Backspace).This command deletes the cell after all the code in the cell is deleted.

  2. Click on the ❌ button present at the right margin of the cell.

6. Runtime of the cell

To check the run-time of the cell you can check the bottom right corner of the cell.

7. Moving a Cell

To move a cell just select the cell and drag and drop it in the desired position.

8. Hide a cell

To hide the contents of the cell you can click on the πŸ‘οΈ at the top left margin of the cell.

9. Saving a notebook

Pluto notebooks are stored in the temporary folder of your PC i.e. files are deleted as soon as you shutdown yourΒ PC. So you need to save our file by choosing directory and file name from the text box at the top of the notebook.

10. Main Menu

To go from a current notebook to the pluto main menu, click on the Pluto icon at the top of the notebook.

11. Close Notebook

To close a notebook, return to the the main menu and click on the ❌ next to the notebook you want to close.

12. Close Pluto

Return to the terminal and press Ctrl+C.