Last active
March 23, 2026 02:55
-
-
Save andrewheiss/ee1bef9a201d897e826c24e36e3b45d1 to your computer and use it in GitHub Desktop.
Install the development version of Quarto on Posit Cloud (or any sudo-less linux installation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get latest 1.9 | |
| VER=$(curl -sL https://quarto.org/docs/download/_prerelease.json | grep -o '"version": "[^"]*' | grep -o '[^"]*$') | |
| mkdir -p ~/quarto | |
| curl -L "https://github.com/quarto-dev/quarto-cli/releases/download/v${VER}/quarto-${VER}-linux-amd64.tar.gz" | tar -xz -C ~/quarto --strip-components=1 | |
| # Add to system path so terminal uses it | |
| echo 'export PATH="$HOME/quarto/bin:$PATH"' >> ~/.profile | |
| # Add to .Rprofile path so RStudio uses it | |
| echo 'Sys.setenv(PATH = paste0(Sys.getenv("HOME"), "/quarto/bin:", Sys.getenv("PATH")))' >> ~/.Rprofile | |
| source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment