In Craft 2:
You can always get the latest version and build of Craft in either zip or tar.gz format by going to:
You can change the extension to tar.gz if you prefer that format.
Note that the accept_license=yes parameter, which indicates that you accept Craft’s license agreement, must be in the URL for this to work.
If you're doing this from the command line using
curl, for example, use the
-L flag so it will follow redirects:
curl -O -L http://craftcms.com/latest.zip?accept_license=yes
In Craft 3:
cURL and download the archive from the Craft Github repo release page. Or since Craft 3 is Composer based, you can modify your
craftcms/cms line to install the specific version you're looking for.