draw.io is an online diagramming web application designed for production-grade deployment, with full security process. You can use the freely accessible website of draw.io, or run draw.io locally using the official Docker image or use the Desktop versions for macOS, Linux and Windows.

In this guide we’ll install Desktop application which is an official electron build of draw.io. The draw.io Desktop is designed to be completely isolated from the Internet. All JavaScript files are self-contained, the Content Security Policy forbids running remotely loaded JavaScript.

There is no diagram data is ever sent externally or any analytics about app usage externally. Some functionality without JavaScript implementation locally do not work in the Desktop build, namely .vsd and Gliffy import.

Install draw.io Desktop on Ubuntu.

The pre-built binaries are available on the releases git section. Check the latest version that you’ll install in your machine.

Install draw.io Desktop on Ubuntu

For Ubuntu users, download the .deb build of draw.io.

sudo apt update
sudo apt -y install wget
wget https://github.com/jgraph/drawio-desktop/releases/download/v12.3.2/draw.io-amd64-12.3.2.deb

Then install it with the dpkg command.

sudo dpkg -i draw.io-amd64-12.3.2.deb
sudo apt -y -f install

Install draw.io Desktop on Fedora

For Fedora Workstation, get the .rpm package of draw.io Desktop.

sudo dnf install https://github.com/jgraph/drawio-desktop/releases/download/v12.3.2/draw.io-x86_64-12.3.2.rpm

Accept installation prompt.

Last metadata expiration check: 0:47:11 ago on Fri 15 Nov 2019 08:56:39 AM EAT.
draw.io-x86_64-12.3.2.rpm                                                                                          427 kB/s |  66 MB     02:38    
Dependencies resolved.
 Package                          Architecture                    Version                              Repository                             Size
 draw.io                          x86_64                          12.3.2-259                           @commandline                           66 M

Transaction Summary
Install  1 Package

Total size: 66 M
Installed size: 248 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                           1/1 
  Installing       : draw.io-12.3.2-259.x86_64                                                                                                1/1 
  Running scriptlet: draw.io-12.3.2-259.x86_64                                                                                                1/1 
  Verifying        : draw.io-12.3.2-259.x86_64                                                                                                1/1 



Launching draw.io Desktop on Ubuntu / Debian / Fedora

Once the application is installed, you can launch it using the CLI:

$ drawio

Or from your Desktop environment applications launch section.

You can start to create your projects diagrams or import existing ones for editing.