Download the released binaries for Dat and add them to your environment. If a more recent version has been released, you can specify it as argument (we try to update it accordingly, but might sometimes have time off!).
dat_install(os = "win", path, ver = "13.10.0")
os | 'win' (Windows), 'mac', or 'linux' |
---|---|
path | Where to install Dat |
ver | Version. See https://github.com/datproject/dat/releases |
NULL. Prints stdout of terminal along the way.
The system `PATH` will be modified. On Linux-ish systems, ~/.profile
will also be modified.
if (FALSE) { dat_install(os = 'win') dat_install(os = 'macos') dat_install(os = 'linux') }