Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jtilly
Last active January 7, 2016 14:38
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 jtilly/4c2a0d056148dc9f6795 to your computer and use it in GitHub Desktop.
Save jtilly/4c2a0d056148dc9f6795 to your computer and use it in GitHub Desktop.
Shell script that downloads and installs the latest version of RStudio Desktop (Ubuntu / Debian)
#!/bin/bash
# get the latest version
VER=$(wget --no-check-certificate -qO- https://s3.amazonaws.com/rstudio-desktop/current.ver)
# download it
wget https://download1.rstudio.org/rstudio-${VER}-amd64.deb
# install it
sudo dpkg -i rstudio-${VER}-amd64.deb
# clean up
rm -f rstudio-${VER}-amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment