Getting the Code

Getting WebKit

To download a pre-built bundle containing the latest WebKit, visit WebKit Build Archives.

Browsing the Code

To browse the source code online, visit the WebKit project on GitHub.

Checking Out with Git

To work with the WebKit source tree using a Git client, install a Git client with Subversion support and run the following command on your terminal:

git clone https://github.com/WebKit/WebKit.git WebKit

Or:

git clone git@github.com:WebKit/WebKit.git WebKit

You may want your git clone to track the Subversion repository, which will allow you to map Subversion revision numbers to Git hashes. The main branch can be tracked with:

Tools/Scripts/git-webkit setup-git-svn

For information about this, and other aspects of using Git with WebKit, read the wiki page.

macOS or Linux

If you don’t want to checkout the repository, you can download a snapshot of the WebKit repository.

Windows

See the WebKit on Windows page.

Keeping up to Date

At any time, you can rerun the update-webkit script to update your source tree.