Skip to content

Instantly share code, notes, and snippets.

@biggyspender
Last active March 26, 2018 17:55
Show Gist options
  • Save biggyspender/8a598b1001e599c206c34df1fc528cf0 to your computer and use it in GitHub Desktop.
Save biggyspender/8a598b1001e599c206c34df1fc528cf0 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt-get update
sudo apt-get install -y mono-devel
RIDER_VERSION="2017.3.1"
RIDER_WEBNAME="JetBrains.Rider"
RIDER_FSNAME="JetBrains\ Rider"
RIDER_FN="$RIDER_WEBNAME-$RIDER_VERSION"
RIDER_DIR="$RIDER_FSNAME-$RIDER_VERSION"
mkdir -p ~/.local/share/JetBrains
cd ~/.local/share/JetBrains
curl -L https://download.jetbrains.com/resharper/$RIDER_FN.tar.gz | tar xzvf -
mkdir -p ~/.local/bin
RIDER_COMMAND="nohup bash -c \"~/.local/share/JetBrains/$RIDER_DIR/bin/rider.sh\""
RIDER_PARAMS=' $@ >/dev/null 2>&1 &'
echo "$RIDER_COMMAND$RIDER_PARAMS" > ~/.local/bin/rider
chmod +x ~/.local/bin/rider
rider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment