How to Install Dat CLI (command line interface) on Linux, Mac or Windows

Blockchain Dealer
1 min readAug 5, 2018

--

Dat CLI, the terminal interface for using the Dat Protocol, can be an important tool when dealing with decentralized file sharing and project management.

Installation of the Dat CLI requires a recent version of NodeJS to be installed on your system.

You can easily download the latest version of NodeJS (comes with npm — important for later) by visiting this link and downloading the appropriate file.

For Mac and Windows, it is recommended to download the installer file for an easier installation.

For Linux, extract the files to an accessible folder and copy the contents of the bin, include, lib and share folders to /usr/bin/, /usr/include/, /usr/lib/ and /usr/share/ respectively with administrator (sudo) privileges.

Instructions for Linux

With a proper installation of Node on your system, making Dat functionality available is as simple as running npm i -g dat in the Terminal.

You can verify if your installation of Dat was successful by running dat -v in the Terminal.

back to Organize your Project with Dat

--

--