Getting started

Installation

Get div running in less time than it takes to name your next side project.

The div CLI (Command Line Interface) ships as a global npm package, so all you need is Node.js ↗ and a single command to get started.

#Install it

npm install -g div

That's it. The div CLI is installed and ready to go.

#Make sure it worked

div --version

You should see a version number staring back at you. That means div was installed successfully.

#Updating

npm update -g div

Or grab a specific version:

npm install -g div@latest

#Uninstalling

npm uninstall -g div

That removes the binary. Your projects, your div.json files, and the saved credentials at ~/.config/div/ all stay put. If you'd like to clear those out too:

rm -rf ~/.config/div

#Next

  • Quick start — The quickest way to understand div is to ship a one-page site with it. The next few steps walk through exactly that - scaffold, edit, and deploy 🚀