# Autoupdater for Uplink CLI?

**URL:** <https://forum.storj.io/t/autoupdater-for-uplink-cli/29822>\
**Category:** Developer Discussions\
**Tags:** uplink\
**Created:** [April 22, 2025, 8:07am UTC](https://forum.storj.io/t/autoupdater-for-uplink-cli/29822 "2025-04-22T08:07:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andisers](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andisers/32/1124_2.png) [@Andisers](https://forum.storj.io/u/Andisers)\
**Post date:** [April 22, 2025, 8:07am UTC](https://forum.storj.io/t/autoupdater-for-uplink-cli/29822/1 "2025-04-22T08:07:17Z")

</div>

Hi there, I am wondering if there is an autoupdater for Uplink CLI. The process described on the manual ([here](https://storj.dev/learn/tutorials/quickstart-uplink-cli#step-2-download-and-install-the-binary-for-your-os)) requires the binary to be downloaded directly, and it would be nice if it is possible to update the binary with a tool like apt or extrepo.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [April 23, 2025, 2:39am UTC](https://forum.storj.io/t/autoupdater-for-uplink-cli/29822/2 "2025-04-23T02:39:31Z")

</div>

Hi @Andisers,  
We have a Windows version in `winget`.

For the Linux there are many distributions and repos, so we didn’t setup a publish pipeline there yet.

However, you can setup a cron job to download a new version with required intervals.  
The one-liner would be:

```auto
curl -L https://github.com/storj/storj/releases/latest/download/uplink_linux_amd64.zip -o uplink_linux_amd64.zip && unzip -o uplink_linux_amd64.zip && sudo install uplink /usr/local/bin/uplink

```

---

<div class="post-metadata">

**Author:** ![Andisers](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/andisers/32/1124_2.png) [@Andisers](https://forum.storj.io/u/Andisers)\
**Post date:** [April 23, 2025, 11:42am UTC](https://forum.storj.io/t/autoupdater-for-uplink-cli/29822/3 "2025-04-23T11:42:47Z")

</div>

I understood. Running the cron job would be simple and looks nice to me 🙂

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [April 24, 2025, 4:54am UTC](https://forum.storj.io/t/autoupdater-for-uplink-cli/29822/4 "2025-04-24T04:54:16Z")

</div>

The only problem that it requires to run under the user authorized to use `sudo` without asking a password (you may also limit it only to the `install` command, see `man sudo` and example there: [How to run a cron job using the sudo command - Ask Ubuntu](https://askubuntu.com/a/173932)). So need to experiment a little bit.

---

<div class="post-metadata">

**Author:** ![Vadim](https://storj.bcdn.literatehosting.com/letter_avatar/vadim/32/6_449c533f586939b6e5f246632a46421f.png) [@Vadim](https://forum.storj.io/u/Vadim)\
**Post date:** [April 24, 2025, 5:32am UTC](https://forum.storj.io/t/autoupdater-for-uplink-cli/29822/5 "2025-04-24T05:32:38Z")

</div>

What will happen if cron tab will fire update during some upload operation?
