Skip to content

Instantly share code, notes, and snippets.

@cderv
Last active October 26, 2021 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cderv/0b637e0b32af7e0bea1a9ef551735927 to your computer and use it in GitHub Desktop.
Save cderv/0b637e0b32af7e0bea1a9ef551735927 to your computer and use it in GitHub Desktop.
Update RStudio Server Open Source
#! /bin/bash
# Using new API https://dailies.rstudio.com/json-api/
url=$(curl -s https://dailies.rstudio.com/rstudio/latest/index.json | jq -r '.products.server.platforms.bionic.link')
wget $url
sudo dpkg -i $(basename $url)
rm $(basename $url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment