---
title: "Get/Download mxpc-cli"
method: POST
path: "/cli/{cliVersionValue}"
tags: ["cli"]
---

# Get/Download mxpc-cli

`POST /cli/{cliVersionValue}`

## Request

- Base URL: `https://privatecloud.mendixcloud.com/api/v4`
- URL: `https://privatecloud.mendixcloud.com/api/v4/cli/{cliVersionValue}`
- Auth: API key in header `Authorization`

If every parameter is correct, this request will redirect the user to the Mendix CDN URL of the selected version of mxpc-cli.

## Query parameters

- `os` 'windows' | 'linux' | 'macos', required
- `architecture` 'x86' | 'arm', required

## Other responses

- `303`: See Other
- `400`: The request likely contains invalid data or is missing data. The error response gives additional feedback.
- `401`: There were no usable authentication credentials found. The error response gives additional feedback.
- `403`: Access is denied. The provided credentials are incorrect or the credentials do not have the required level of access. The error response gives additional feedback.
- `404`: The requested item could not be found. The error response gives additional feedback.

---

[API](https://skmtc.dev/mendix/apis/mendix-for-private-cloud-deploy-api.md) - [All operations](https://skmtc.dev/mendix/apis/mendix-for-private-cloud-deploy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mendix/apis/mendix-for-private-cloud-deploy-api/revisions/ae247dcd18e1?raw)
