Dat has a Desktop client, a commandline tool, and a Node.js library. If you'd like to read about how dat works, please read how it works and if you're still hungry for more learning, read the Dat paper.
If you don't want to use the terminal, you can use our desktop application on Mac or Linux (Windows coming soon).
Dat can be installed in the terminal using
node. Follow the instructions below to get started.
Install Node. Dat requires Node version 4.0 or higher; however, we recommend the latest version. If you don't have node, go to their website at nodejs.org and pick your platform. If node is installed, you should be able to type the following to see which version you have:
$ node -v 8.0.0
Install Dat. Dat is distributed using
npm, the package manager for Node.js. Type the following command to install dat:
npm install -g dat
If dat was installed successfully, you might see output like this (on npm 5.0.0):
/usr/local/bin/dat -> /usr/local/lib/node_modules/dat/bin/cli.js > firstname.lastname@example.org install /usr/local/lib/node_modules/dat/node_modules/utp-native > node-gyp-build > email@example.com install /usr/local/lib/node_modules/dat/node_modules/sodium-native > node-gyp-build "node preinstall.js" "node postinstall.js" added 321 packages in 9.662s
If you receive an
EACCES error, read this guide on fixing npm permissions or use
sudo npm install -g dat.
You're all set! Go on to the next page to start sharing data.