# Terminal

The Datalore editor includes an integrated terminal emulator. It allows you to perform various tasks in the same runtime as your notebook using standard shell commands similar to how you would use them on your local machine.

> **Note:**
> Not available on the Cloud Free plan. [Learn how to upgrade](upgrade-to-cloud-plan.html)

You can use Terminal for the following tasks:

* [Working directly with Git repositories](use-terminal-for-git-integration.html)

* Installing packages with dependencies or those where installation requires interactive input

* Running scripts and utilities

* Accessing the agent, environment, and file system

* Running commands with `sudo`

> **Note:**
> Packages installed via Terminal are not persistent.
>
>
>
> To learn how to install a package permanently, see [Find and install packages](customize-notebook-environment.html#find-and-install-packages).

Procedure: Start a session

1. In the notebook, select `Tools | Terminal` in the main menu.

2. Use Terminal as you would on your local machine.

![Terminal in Datalore notebooks](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/terminal.png)

> **Tip:**
> To open another Terminal session, repeat the steps. The new session will open in a new tab.

Procedure: Resize Terminal

1. Hover over the left side of Terminal and drag left it or right to resize.

Procedure: Close a session

1. Hover over the tab at the top of the Terminal session you want to close.

2. Click x.

> **Warning: Important**
> Avoid running long-time computations in Terminal. Tasks may not complete if the session ends.

