Using A Script (Recommended)¶
The simplest way to get started with HOPR is to run our script to install hoprd. The script will install all the required dependencies, including
16. If you have
nvm installed, it will use it.
Please bear in mind that at the time of writing,
hoprd only has been tested in version
If you are a MacOS M1 user, please refer to the npm guide, this script will not work for you.
Setup and install HOPRd¶
You might need to restart your terminal for your computer to be able to find
hoprd after the script completes installation.
Ubuntu or Debian¶
Type following commands into your terminal, if you are using a VPS, log in into your VPS.
$ sudo apt install -y curl $ curl https://raw.githubusercontent.com/hoprnet/hopr-sh/master/setup-hoprd.sh --output setup-hoprd.sh $ chmod +x setup-hoprd.sh $ ./setup-hoprd.sh
Type following commands into your terminal. If you have not installed the XCode Command-line utils, please install them via:
$ xcode-select --install
Also check whether you have installed Homebrew - the OSX package manager - and install it if it is not installed yet.
$ brew install curl $ curl https://raw.githubusercontent.com/hoprnet/hopr-sh/master/setup-hoprd-macos.sh --output setup-hoprd.sh $ chmod +x setup-hoprd.sh $ ./setup-hoprd.sh
If you like to live dangerously and have no regards to safety and trust us (you shouldn’t) and want a one-liner script, here it is.
bash -c "$(curl -s https://raw.githubusercontent.com/hoprnet/hopr-sh/master/setup-hoprd.sh)"
(we even removed the
$ so you can copy and paste that on your terminal, you savage).