# Are state scripts available for mender standalone artifact updates?

**URL:** https://hub.mender.io/t/are-state-scripts-available-for-mender-standalone-artifact-updates/1597
**Category:** General Discussions
**Created:** [February 18, 2020, 8:17pm UTC](https://hub.mender.io/t/are-state-scripts-available-for-mender-standalone-artifact-updates/1597 "2020-02-18T20:17:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ikkysleepy](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/ikkysleepy/32/156_2.png) [@ikkysleepy](https://hub.mender.io/u/ikkysleepy)
#### Post date: [February 18, 2020, 8:17pm UTC](https://hub.mender.io/t/are-state-scripts-available-for-mender-standalone-artifact-updates/1597/1 "2020-02-18T20:17:43Z")

</div>

> [@Deb packages](https://hub.mender.io/t/deb-packages/326/3):
>
> Hi @mladen.miljic, you can always ssh into the device and run the command manually. Alternatively you can setup a [state script](https://docs.mender.io/artifacts/state-scripts) to run that. Depending on your needs a preinstall or a postinstall script might be the best choice.  
> Drew

Are state scripts available for mender standalone artifact updates?

---

<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: [February 19, 2020, 7:07am UTC](https://hub.mender.io/t/are-state-scripts-available-for-mender-standalone-artifact-updates/1597/2 "2020-02-19T07:07:19Z")

</div>

> [@ikkysleepy](#):
>
> Are state scripts available for mender standalone artifact updates?

Since Mender 2.0.0, some [state scripts](https://docs.mender.io/2.3/artifacts/state-scripts#standalone-mode) (not all) can run in standalone mode.
