Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically installing the latest Quarto version

Tags:

quarto

I use a Quarto script to render my blog in Python. Quarto frequently updates, and I want to automatically install the latest version so I can have a script that automatically updates Quarto before rendering my blog.

How can I do this?

like image 924
Lucas A. Meyer Avatar asked Jan 28 '26 10:01

Lucas A. Meyer


1 Answers

This is another example leveraging latest github release and gh CLI

gh --repo quarto-dev/quarto-cli release download --pattern '*.deb'
sudo dpkg -i $(ls quarto-*.deb)
rm $(ls quarto-*.deb)

This could be adapted to any repo with Github release.

Using _download.json is the safest though, especially when stable release of Quarto will be out.

like image 115
cderv Avatar answered Feb 01 '26 21:02

cderv



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!