Skip to content

Instantly share code, notes, and snippets.

@elibroftw
Created April 29, 2022 21:14
Show Gist options
  • Save elibroftw/6439743ad282cb3e4f677667fcaf013e to your computer and use it in GitHub Desktop.
Save elibroftw/6439743ad282cb3e4f677667fcaf013e to your computer and use it in GitHub Desktop.
Auto update monerod (Linux)
# sudo chmod +x update_monerod.sh
sudo sytemctl stop monerod
mkdir -p ~/Downloads && cd ~/Downloads
echo "Downloading and extracting Monero binaries"
curl -L https://downloads.getmonero.org/cli/linux64 | tar xj
rm -r -f ~/bin/monero && mkdir -p ~/bin
mv monero-*-linux-* monero
mv monero ~/bin
sudo systemctl start monerod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment