---
title: "Retrieve install command for namespace"
method: GET
path: "/clusters/{clusterId}/namespaces/{namespaceId}/install-command"
tags: ["clusters"]
---

# Retrieve install command for namespace

`GET /clusters/{clusterId}/namespaces/{namespaceId}/install-command`

## Request

- Base URL: `https://pmp-demo.privateplatform.mendix.com/clusterservice/v1`
- URL: `https://pmp-demo.privateplatform.mendix.com/clusterservice/v1/clusters/{clusterId}/namespaces/{namespaceId}/install-command`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Retrieve the install command for the namespace

## Path parameters

- `clusterId` string, required
- `namespaceId` string, required

## Query parameters

- `OperatingSystem` 'Windows' | 'macOS' | 'Linux', required

## Response `200`

Get install command for namespace successfully

- object
  - `operatingSystem` string: The operating system for the install command.
  - `installCommand` string: The install command for the namespace.

## Other responses

- `400`: Invalid input parameter or request body
- `401`: Authentication information is missing or invalid
- `403`: User has no permission for this operation
- `404`: Resource not found

---

[API](https://skmtc.dev/mendix/apis/cluster-service-v1.md) - [All operations](https://skmtc.dev/mendix/apis/cluster-service-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/cluster-service-v1/revisions/ce8d4c9c1a02?raw)
