---
title: "POST /api/packages/add"
method: POST
path: "/api/packages/add"
---

# POST /api/packages/add

`POST /api/packages/add`

## Request body

- AddPackageRequest — This can be a remove package or a local package. Supported formats: httpx httpx==0.27.0 httpx>=0.27.0 git+https://github.com/encode/httpx https://files.pythonhosted.org/packages/5c/2d/3da5bdf4408b8b2800061c339f240c1802f2e82d55e50bd39c5a881f47f0/httpx-0.27.0.tar.gz /example/foo-0.1.0-py3-none-any.whl
  - `group` string, nullable
  - `package` string, required
  - `upgrade` boolean, nullable

## Response `200`

Install package

- PackageOperationResponse
  - `error` string, nullable
  - `success` boolean, required

---

[API](https://skmtc.dev/marimo-team/apis/marimo-api.md) · [All operations](https://skmtc.dev/marimo-team/apis/marimo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marimo-team/marimo-api/revisions/a39082aac3ce/schema)
