> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-remote-scorers-ag.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage packages

Install, view, update, or remove Python packages from the **Manage packages** sidebar or the notebook terminal.

<Info>
  The default notebook sandbox environment includes the [W\&B Python SDK](/models/ref/python), [Reports and Workspaces API](/models/ref/wandb_workspaces/reports), [marimo](https://docs.marimo.io/), and other commonly used packages.
</Info>

## Install a package

Install Python packages using either the sidebar or the terminal.

<Tabs>
  <Tab title="Sidebar">
    To install a package from the sidebar:

    1. From the notebook sidebar, select **Manage packages** (<Icon icon="cube" />).
    2. Enter the package name.
    3. Select **Add**.
  </Tab>

  <Tab title="Terminal">
    Open the developer panel, then select the **Terminal** tab. Run the following command:

    ```bash theme={null}
    uv pip install <package_name>
    ```
  </Tab>
</Tabs>

Refer to the [marimo documentation](https://docs.marimo.io/guides/package_management/).

## View installed packages

View installed packages using either the sidebar or the terminal.

<Tabs>
  <Tab title="Sidebar">
    To view installed packages:

    1. In the notebook sidebar, select <Icon icon="cube" /> **Manage packages**.
    2. Select one of the following views:

    * **List**: Displays a flat list of installed packages.
    * **Tree**: Displays the package dependency hierarchy. Each dependency appears as a child of the package that requires it.

    The following image shows `wandb-workspaces` in the **Manage packages** sidebar. Packages nested under it are the dependencies of `wandb-workspaces`.

    <Frame>
      <img src="https://mintcdn.com/wb-21fd5541-remote-scorers-ag/rHIUmEc60VgwOyxu/images/notebooks/hello_package_management.png?fit=max&auto=format&n=rHIUmEc60VgwOyxu&q=85&s=a863d50f3cdaa47ee97e403dd43e840b" alt="Manage packages sidebar in the notebook" width="3244" height="1824" data-path="images/notebooks/hello_package_management.png" />
    </Frame>
  </Tab>

  <Tab title="Terminal">
    Open the developer panel, then select the **Terminal** tab. Run the following command:

    ```bash theme={null}
    uv pip list
    ```
  </Tab>
</Tabs>

## Update a package

Update a package using either the sidebar or the terminal.

<Tabs>
  <Tab title="Sidebar">
    1. Select **Manage packages** (<Icon icon="cube" />) from the notebook sidebar.
    2. Type or search for the package.
    3. Select **Upgrade**.
  </Tab>

  <Tab title="Terminal">
    Open the developer panel, then select the **Terminal** tab. Run the following command:

    ```bash theme={null}
    uv pip install --upgrade <package_name>
    ```
  </Tab>
</Tabs>

## Remove a package

Remove a package using either the sidebar or with the notebook terminal.

<Tabs>
  <Tab title="Sidebar">
    1. Select **Manage packages** (<Icon icon="cube" />) from the notebook sidebar.
    2. Find the package you want to remove.
    3. Select **Remove** next to the package name.
  </Tab>

  <Tab title="Terminal">
    Open the developer panel, then select the **Terminal** tab. Run the following command:

    ```bash theme={null}
    uv pip uninstall <package_name>
    ```
  </Tab>
</Tabs>
