# Standalone update while in managed mode

**URL:** <https://hub.mender.io/t/standalone-update-while-in-managed-mode/945>\
**Category:** General Discussions\
**Created:** [August 16, 2019, 4:09pm UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945 "2019-08-16T16:09:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianPTL](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@brianPTL](https://hub.mender.io/u/brianPTL)\
**Post date:** [August 16, 2019, 4:09pm UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945/1 "2019-08-16T16:09:23Z")

</div>

Hi,

I am looking at the options available to us in terms of updates. My use case is managed mode.

From the documentation [here](https://docs.mender.io/2.0/architecture/overview#modes-of-operation) it says:

> It is possible to run the Mender update client in standalone or managed mode.

For a managed client is it possible to install a .mender file manually using the standalone procedure below, then carry on with automatic updates after this?

```auto
mender -install myfile.mender
reboot
mender -commit

```

I ask since it might be desired to load a file from a USB stick etc rather than 4G data for the download.

Thanks!

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [August 19, 2019, 7:09pm UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945/2 "2019-08-19T19:09:53Z")

</div>

Hi Brian,  
Yes, that should work just fine. Are you having issues?  
Drew

---

<div class="post-metadata">

**Author:** ![ajithpv](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ajithpv/32/728_2.png) [@ajithpv](https://hub.mender.io/u/ajithpv)\
**Post date:** [August 20, 2019, 5:33am UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945/3 "2019-08-20T05:33:21Z")

</div>

It will work as long as you intentionally not triggering update from both managed mode and standalone mode at the same time.

Please note that, managed mode already running a mender daemon which will look for update artifacts from the mender server. In standalone, you have to explicitly say that, there is an update using _-install_ option.

---

<div class="post-metadata">

**Author:** ![brianPTL](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@brianPTL](https://hub.mender.io/u/brianPTL)\
**Post date:** [August 21, 2019, 2:51pm UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945/4 "2019-08-21T14:51:15Z")

</div>

No issues - it was not clear from the documentation that this was supported.

Thanks!

---

<div class="post-metadata">

**Author:** ![lukas\_e](https://avatars.discourse-cdn.com/v4/letter/l/f9ae1b/32.png) [@lukas\_e](https://hub.mender.io/u/lukas_e)\
**Post date:** [October 12, 2021, 1:12pm UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945/5 "2021-10-12T13:12:12Z")

</div>

@drewmoseley is your statement still valid for newer versions of the mender-client (\>2.4). Im asking as [Standalone deployment | Mender documentation](https://docs.mender.io/artifact-creation/standalone-deployment) mentions differences for the standalone and managed mode.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [October 12, 2021, 1:24pm UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945/6 "2021-10-12T13:24:49Z")

</div>

Yes, managed mode and standalone mode are intended to coexist with some minor caveats related to state script behavior as shown in that link.

Drew

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [October 15, 2021, 7:49am UTC](https://hub.mender.io/t/standalone-update-while-in-managed-mode/945/7 "2021-10-15T07:49:38Z")

</div>

Just note that one small difference in 3.0 and newer is that `-install` and `-commit` have been removed and replaced by `install` and `commit`. These worked in the 2.x versions also, so it should be easy to migrate.
