---
title: "Install Dependency"
method: POST
path: "/dependencies/repos/install"
tags: ["Dependencies"]
---

# Install Dependency

`POST /dependencies/repos/install`

Install a dependency

## Request body

- InstallDependencyInput
  - `lang` string — The programming language of the dependency
  - `mode` string — Installation mode ('all' or specific nodes)
  - `name` string — The name of the dependency to install
  - `node_ids` string[] — The IDs of nodes to install on (only used when mode is not 'all')
  - `version` string — The version of the dependency to install

## Response `200`

OK

- ControllersVoidResponse
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-17** `c7a4715c1f13` — 1 warning, 10 info
  - removed the optional property `code` from the response with the `200` status
  - api operation id `install_dependency` was added
  - added the new optional request property `lang`
  - added the new optional request property `mode`
  - …7 more
- **2025-03-03** `14e4eafea538` — 1 info
  - endpoint added
- **2025-03-02** `526e5bdf6dee` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/dependencies/repos/install/post.md)

---

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