Last updated March 15, 2014. Created by dellintosh on April 25, 2008.
Edited by blao, peter.kehl, Elem Enoh, craig.norris. Log in to edit this page.

Drupal is available in two supported versions (the most recent and the previous). The "recommended release" is the latest stable release of that version. To learn more about versions, see the Drupal version information page.

If you would like to create a Drupal site in a language other than English, information about Drupal translations is available at

Downloading Drupal

Before you begin, log into your server and navigate to the directory from which you will be serving your Drupal site. On many *nix computers the path from the server's root will be /var/www/html, so cd /var/www/html. On a shared server, or a server that hosts multiple domains, the path will be different (try cd ~/www or cd ~/public_html). If you are unsure of the directory, ask your hosting provider for assistance.

Download Drupal using any download utility, the two most popular of which are wget and curl. Not every computer has both.

A great step by step tutorial is found at using Drush. How to install Drush on Windows .

The commands are, respectively:



curl -O

Note: The option for the curl command is the upper case letter "O" and not the numeral that stands for zero.

Replace the "" string in the commands with the link for the version you will be installing. To get links to recent versions, visit Don't visit unless you have to, because it takes long to serve (it lists many files).

Extracting Drupal

Type the following command (replacing "x.x" with your downloaded version's number):

tar -xzvf drupal-x.x.tar.gz

Remove the compressed version of the file by using the following command:

rm drupal-x.x.tar.gz

Moving Drupal to its intended location

Now you need to move the contents of the drupal-x.x directory one level "up" into the web server's document root or your public HTML directory:

mv drupal-x.x/* drupal-x.x/.htaccess ./

For Drupal 7 also add

mv drupal-x.x/.gitignore ./

The files from the directory you downloaded and decompressed have now been moved up a level into your web directory, and you can delete the drupal-x.x directory (which is now empty):

rmdir drupal-x.x

Before continuing to the next page ...

The base URL for your Drupal installation will be set in your web server's configuration file. You will need to know this URL before proceeding to the next steps of the installation. If you are installing Drupal on your local machine the base URL may be: http://localhost. If you're installing Drupal to a web server your base URL may be a specific domain name (such as

Looking for support? Visit the forums, or join #drupal-support in IRC.


To avoid all kinds of moving problems, you can extract the drupal from tar archive by skipping first part of path.

So instead of

tar -xzvf drupal-x.x.tar.gz

you can do

tar --strip-components=1 -xzvf drupal-x.x.tar.gz


I've downloaded 7.26 and extracted it to my desktop. so I have a folder Drupal-7.26
---Whats all this about "up a level"?
---why do you specify moving .htaccess AND .gitignore?

I'm going to move all the contents of Drupal-7.26 to the root of my virtual server, and see if this right...
(if this is suffice, maybe you could say so)

UPDATE: I downloaded drupal, decompressed/extracted it to a folder Drupal.
I uploaded the contents of this folder, to my hosting server (the root of my website).
That's it - no need to 'go up a level'. No need to move any specific files to other places.
Worked for me.

As Im Here, I must be Not All There!
"Just because you don't understand, doesn't mean there are gods" The Man 13:8