# Update Joplin via Command Line?

**URL:** <https://discourse.joplinapp.org/t/update-joplin-via-command-line/17288>\
**Category:** Support\
**Created:** [13 May 2021 09:50 UTC](https://discourse.joplinapp.org/t/update-joplin-via-command-line/17288 "2021-05-13T09:50:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![heviiguy](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/heviiguy/32/841_2.png) [@heviiguy](https://discourse.joplinapp.org/u/heviiguy)\
**Post date:** [13 May 2021 09:50 UTC](https://discourse.joplinapp.org/t/update-joplin-via-command-line/17288/1 "2021-05-13T09:50:53Z")

</div>

After having had updated Joplin on my MacBook and on my Android devices, I now need to also update Joplin residing on my remote Linux Fedora server.

- Joplin had initially been installed on the server using the github script
- I can access the server's command line through SSH from my current location

Can somebody please let me know how to execute this update under these circumstances?

---

<div class="post-metadata">

**Author:** ![Sento](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sento/32/7046_2.png) [@Sento](https://discourse.joplinapp.org/u/Sento)\
**Post date:** [13 May 2021 13:52 UTC](https://discourse.joplinapp.org/t/update-joplin-via-command-line/17288/2 "2021-05-13T13:52:53Z")

</div>

Hey, I guess what you are looking for is described in the [docu](https://joplinapp.org/#desktop-applications).  
To make it short, run  
`wget -O - https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh | bash`

I saved the bash script in a local folder so I can just run it from there if I need it (But that would of course not always take the up to date version of the script, but I just hope that not a lot is changing in there).

If you want to update to a pre-release on a machine with graphical output you can do this by activating the option as described in [here](https://joplinapp.org/prereleases), sadly I haven't found a command to make this change from the command line yet.

Hope I could help.

EDIT: Just found the option to update to pre-release in the bash script:  
`./joplin_install_and_update.sh --prerelease`

---

<div class="post-metadata">

**Author:** ![heviiguy](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/heviiguy/32/841_2.png) [@heviiguy](https://discourse.joplinapp.org/u/heviiguy)\
**Post date:** [16 May 2021 10:20 UTC](https://discourse.joplinapp.org/t/update-joplin-via-command-line/17288/3 "2021-05-16T10:20:01Z")

</div>

Thanks, @Sento 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [15 June 2021 10:20 UTC](https://discourse.joplinapp.org/t/update-joplin-via-command-line/17288/4 "2021-06-15T10:20:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
