# \#mender-cli

**URL:** https://hub.mender.io/tag/mender-cli/142.md

[Latest](https://hub.mender.io/latest.md) · [Categories](https://hub.mender.io/categories.md) · [Tags](https://hub.mender.io/tags.md)

---

## [Mender-cli artifacts list failing with JSON unmarshal error (Hosted Mender)](https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072)

<div class="topic-metadata">

**Author:** [@nomtor0204](https://hub.mender.io/u/nomtor0204)\
**Replies:** 3\
**Last updated:** [November 4, 2025, 11:48pm UTC](https://hub.mender.io/t/mender-cli-artifacts-list-failing-with-json-unmarshal-error-hosted-mender/8072 "2025-11-04T23:48:54Z")

</div>

Hello, We are using Hosted Mender. A mender-cli command that runs in our daily CI/CD pipeline, which had been succeeding, has suddenly started to fail. This issue began approximately around 2025-10-27 18:00 UTC. Here …

---

## [Artifact upload error both from web (Network Error) and cli (failed with status 413)](https://hub.mender.io/t/artifact-upload-error-both-from-web-network-error-and-cli-failed-with-status-413/6291)

<div class="topic-metadata">

**Author:** [@BlueEcoLine](https://hub.mender.io/u/BlueEcoLine)\
**Replies:** 4\
**Last updated:** [June 23, 2025, 8:21am UTC](https://hub.mender.io/t/artifact-upload-error-both-from-web-network-error-and-cli-failed-with-status-413/6291 "2025-06-23T08:21:35Z")

</div>

Hi, I am facing issues uploading a system image (with .mender extension) both in the Mender Hosted dashboard (eu region) and through the mender-cli interface. The file is 4.1GB. If I try to use the Mender Hosted web i…

---

## [Mender-cli + mender-artifact tool aarch64 support](https://hub.mender.io/t/mender-cli-mender-artifact-tool-aarch64-support/7747)

<div class="topic-metadata">

**Author:** [@jainvikas8](https://hub.mender.io/u/jainvikas8)\
**Replies:** 0\
**Last updated:** [April 29, 2025, 12:53pm UTC](https://hub.mender.io/t/mender-cli-mender-artifact-tool-aarch64-support/7747 "2025-04-29T12:53:26Z")

</div>

Is there any official release of the mentioned tools for arm64 host? I see we can build it via GOARCH=arm64 GOOS=linux go build -o mender-\<xyz\> github.com/mendersoftware/mender-\<xyz\> I just want to check if there are …

---

## [\[Feature Request\] Mender CLI, using primary ID selected in Mender Settings](https://hub.mender.io/t/feature-request-mender-cli-using-primary-id-selected-in-mender-settings/7587)

<div class="topic-metadata">

**Author:** [@marvinosswald](https://hub.mender.io/u/marvinosswald)\
**Replies:** 2\
**Last updated:** [April 3, 2025, 1:02pm UTC](https://hub.mender.io/t/feature-request-mender-cli-using-primary-id-selected-in-mender-settings/7587 "2025-04-03T13:02:29Z")

</div>

Hi all, we are using a property ID as the leading Identifier for our devices. We have set the UI to use it as the leading identifier which works nicely. For everything but mender-cli because there we can only use the me…

---

## [Mender-cli only returns 20 devices, but we have 54](https://hub.mender.io/t/mender-cli-only-returns-20-devices-but-we-have-54/7352)

<div class="topic-metadata">

**Author:** [@bssi](https://hub.mender.io/u/bssi)\
**Replies:** 2\
**Last updated:** [November 27, 2024, 2:18pm UTC](https://hub.mender.io/t/mender-cli-only-returns-20-devices-but-we-have-54/7352 "2024-11-27T14:18:35Z")

</div>

We’re using hosted mender. When I run mender-cli devices list I only get back info on 20 devices, but we have 54. I’m using mender-cli 1.12.0 from the Downloads page.

---

## [Mender-cli cp cannot find file](https://hub.mender.io/t/mender-cli-cp-cannot-find-file/7201)

<div class="topic-metadata">

**Author:** [@bbasics](https://hub.mender.io/u/bbasics)\
**Replies:** 0\
**Last updated:** [October 1, 2024, 11:02am UTC](https://hub.mender.io/t/mender-cli-cp-cannot-find-file/7201 "2024-10-01T11:02:03Z")

</div>

Hello! I’m trying to use: mender-cli cp --token-value \<token\> --server https://eu.hosted.mender.io/ \<device-id\>:/home/root/\<file\> . And it always sends Configuration file not found. Continuing. File not found on the …

---

## [Mender-cli fails to login on EU region](https://hub.mender.io/t/mender-cli-fails-to-login-on-eu-region/6252)

<div class="topic-metadata">

**Author:** [@BlueEcoLine](https://hub.mender.io/u/BlueEcoLine)\
**Replies:** 7\
**Last updated:** [May 15, 2024, 9:43am UTC](https://hub.mender.io/t/mender-cli-fails-to-login-on-eu-region/6252 "2024-05-15T09:43:36Z")

</div>

Hi, an error prevents to connect to Hosted Mender in EU region through cli. When running mender-cli login --server https://eu.hosted.mender.io, after insering username (the email) and password, pops the following error…

---

## [Mender-cli on windows and integration](https://hub.mender.io/t/mender-cli-on-windows-and-integration/5810)

<div class="topic-metadata">

**Author:** [@emilm](https://hub.mender.io/u/emilm)\
**Replies:** 9\
**Last updated:** [July 11, 2023, 7:53am UTC](https://hub.mender.io/t/mender-cli-on-windows-and-integration/5810 "2023-07-11T07:53:28Z")

</div>

The goal is to have a windows application enabling port forward from / to a certain port after picking the device ID. How would you go about doing this? I have almost no knowledge of the go programming language, so I w…

---

## [Mender-cli artifacts delete ID to delete an artifact](https://hub.mender.io/t/mender-cli-artifacts-delete-id-to-delete-an-artifact/5454)

<div class="topic-metadata">

**Author:** [@marizonne.villafranc](https://hub.mender.io/u/marizonne.villafranc)\
**Replies:** 2\
**Last updated:** [November 24, 2022, 11:26am UTC](https://hub.mender.io/t/mender-cli-artifacts-delete-id-to-delete-an-artifact/5454 "2022-11-24T11:26:05Z")

</div>

Hi, I would like to delete an artifact using mender-cli, how to do this? This is how I tried it: herodev@ubuntu-bionic-desktop:~/Downloads$ ./mender-cli artifacts --server https://mender.lumen.com.au delete hero-secc-…

---

## [Mender Terminal & Port Forward latency issues](https://hub.mender.io/t/mender-terminal-port-forward-latency-issues/4502)

<div class="topic-metadata">

**Author:** [@Austriker](https://hub.mender.io/u/Austriker)\
**Replies:** 3\
**Last updated:** [March 15, 2022, 1:58pm UTC](https://hub.mender.io/t/mender-terminal-port-forward-latency-issues/4502 "2022-03-15T13:58:12Z")

</div>

Hi, We are switching from our VPN to mender Terminal and port forward but we are experiencing some latency issues. We use hosted Mender Mender terminal is quite slow even with a LAN network (not cellular). Port forwa…

---

## ["Bad Handshake" with mender-cli](https://hub.mender.io/t/bad-handshake-with-mender-cli/4455)

<div class="topic-metadata">

**Author:** [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Replies:** 10\
**Last updated:** [February 10, 2022, 3:21pm UTC](https://hub.mender.io/t/bad-handshake-with-mender-cli/4455 "2022-02-10T15:21:30Z")

</div>

I recently started seeing the “Bad Handshake” issue with mender-connect terminal connections. Interestingly it only seems to happen when using mender-cli and not when using the web UI. I was able to reproduce it with bot…

---

## [Mender-cli login with SSO google](https://hub.mender.io/t/mender-cli-login-with-sso-google/4452)

<div class="topic-metadata">

**Author:** [@Austriker](https://hub.mender.io/u/Austriker)\
**Replies:** 1\
**Last updated:** [January 6, 2022, 2:45pm UTC](https://hub.mender.io/t/mender-cli-login-with-sso-google/4452 "2022-01-06T14:45:39Z")

</div>

Hi, I would like to use mender-cli but when I try to login it requires a password. But to access hosted mender I use my google workspace account so I don’t have a password. Is there another way to login ? Cheers

---

## [File Transfer using Mender-CLI and API](https://hub.mender.io/t/file-transfer-using-mender-cli-and-api/3906)

<div class="topic-metadata">

**Author:** [@joseph](https://hub.mender.io/u/joseph)\
**Replies:** 15\
**Last updated:** [July 26, 2021, 10:03pm UTC](https://hub.mender.io/t/file-transfer-using-mender-cli-and-api/3906 "2021-07-26T22:03:35Z")

</div>

Hey guys, So have a couple questions in regards to using mender-cli and the mender API with the new file transferring feature. Question #1 - How do i properly use mender-cli to conduct a file transfer to/from a device. …

---

## [Mender-cli artifacts upload \`FAILURE: POST EOF\` when running in GitHub Actions](https://hub.mender.io/t/mender-cli-artifacts-upload-failure-post-eof-when-running-in-github-actions/3566)

<div class="topic-metadata">

**Author:** [@marekl](https://hub.mender.io/u/marekl)\
**Replies:** 4\
**Last updated:** [May 6, 2021, 4:27pm UTC](https://hub.mender.io/t/mender-cli-artifacts-upload-failure-post-eof-when-running-in-github-actions/3566 "2021-05-06T16:27:38Z")

</div>

Hi Folks, I’m trying to setup a CI pipeline for my device OTA updates using hosted Mender and I’m having some difficulty getting artifact uploads working from a GitHub Actions workflow. The TLDR is that running mender-…

---

## [\[mender-cli\] "Not able to determine users cache dir" error](https://hub.mender.io/t/mender-cli-not-able-to-determine-users-cache-dir-error/2464)

<div class="topic-metadata">

**Author:** [@vrubiolo](https://hub.mender.io/u/vrubiolo)\
**Replies:** 16\
**Last updated:** [October 12, 2020, 7:37am UTC](https://hub.mender.io/t/mender-cli-not-able-to-determine-users-cache-dir-error/2464 "2020-10-12T07:37:02Z")

</div>

Hi there, I am posting here since I cannot manage to find an answer searching on the forum so far. I am using mender-cli to interface w/ our 2.4 on-premises Mender server. It is being integrated into a Python microserv…
