Installation

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.

Have questions or need some guidance? You can chat with us in IRC on #dat or Gitter!

Desktop Application

If you don't want to use the terminal, you can use our desktop application on Mac or Linux (Windows coming soon).

Platform Link
Mac Download .dmg
Linux Download .AppImage
Windows Coming Soon

In the Terminal

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

> utp-native@1.5.1 install /usr/local/lib/node_modules/dat/node_modules/utp-native
> node-gyp-build


> sodium-native@1.10.0 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.

If you're still having trouble installing dat, see the troubleshooting section, open an issue on Github, or ask us a question in our chat room.

Next Steps

You're all set! Go on to the next page to start sharing data.