Note: The Dojo Quick Start Guide posts – while still relevant – are a bit dated. Please visit http://dojotoolkit.org/documentation/ for expert tutorials and API documentation to help you get up and running with Dojo.
Download the newest released version of the Dojo Toolkit. Or find a previous release if necessary.
The optimized “built” version is:
dojo-release-x.y.z.zip, where x, y, and z are major, minor, and point release numbers, respectively. Or to run the complete suite of tests, you should download the SDK or -src version of Dojo.
Unpack the contents of the archive into a folder (preferably on a web server as this is always a good case for Ajax development). Let’s call it “js/”. You may also name your dojo directory “dojotoolkit” as the examples here will show. If you wish to version Dojo, you may leave it as dojo-release-x.y.z. You should now have a directory structure similar to this:
The most important thing to know when installing the Dojo Toolkit is where your copy of
dojo.js is located. The package system handles the loading of all other dependencies and modules, once
dojo.js has been loaded into the page.
You can verify your download and install is working by pointing your web browser to
http://localhost/js/dojotoolkit/dojo/tests/runTests.html or browse the Dijit test pages at
The Dojo Reference Guide, a freely available collection of guides and tutorials, provides a more in-depth description of the various ways to get the Dojo source and about the different releases available.