Skip to content

Instantly share code, notes, and snippets.

@andrewheiss
Last active March 23, 2026 02:55
Show Gist options
  • Select an option

  • Save andrewheiss/ee1bef9a201d897e826c24e36e3b45d1 to your computer and use it in GitHub Desktop.

Select an option

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)
# 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