Skip to content Skip to navigation

One-Step Module Downloading and Unpacking

Posted by: 
Topics: 

Ever get tired of all the steps involved in installing a new module, or upgrading to the latest version? Download, upload, un-tar, delete the .tar.gz archive. Try this command at the command line (be sure you're in sites/all/modules, or wherever your modules live):

wget -q -O - http://ftp.drupal.org/files/projects/coolest_module_ever-5.x-1.x-dev.tar.gz | tar zxv

Likewise, you also can type:

curl http://ftp.drupal.org/files/projects/coolest_module_ever-5.x-1.x-dev.tar.gz | tar zxv

Either of those commands will download the module, un-tar the archive, then delete the .tar.gz archive.


"I just tripled my productivity!"