# 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:** 1\
**Showing post:** 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?

---

_[View the full topic](https://hub.mender.io/t/are-state-scripts-available-for-mender-standalone-artifact-updates/1597)._
