macOS
Create an installation folder called prestd where you would like your prestd installation and data storage.
cd (open/join) into the installation folder.
If none of the above suits you, there's still an option of installing using Homebrew :
brew install prestd