To download a pre-built bundle containing the latest WebKit, visit WebKit Nightly Builds.
To browse the source code online, visit WebKit Trac.
To work with the WebKit source tree, you will need a Subversion or a Git client installed. See Installing Developer Tools for information on how to install Subversion.
Open Terminal
Terminal resides in /Applications/Utilities. The Finder Go menu provides a quick way to navigate there.
Open a Cygwin Shell
Double-click the Cygwin icon on your Desktop to launch a new shell.
Type this command to check out the WebKit source tree:
svn checkout https://svn.webkit.org/repository/webkit/trunk WebKit
Alternatively you can download a snapshot of the WebKit source tree from http://nightly.webkit.org/files/WebKit-SVN-source.tar.bz2. It is updated every six hours. Note the archived checkout uses an HTTP connection. We recommend running the following command to use HTTPS instead:
svn switch --relocate http://svn.webkit.org/repository/webkit/trunk https://svn.webkit.org/repository/webkit/trunk
Install the WebKit Support Libraries
Download the WebKit Support Libraries to the root of your source tree (C:\cygwin\home\<username>\WebKit
).
If the file is incorrectly named, rename it to WebKitSupportLibrary.zip
. Do not extract its contents.
Run the update-webkit
script
to update your source tree.
If you downloaded the tarball, this will bring it up to date. Windows users must always execute this command after first obtaining the code, since it will download additional libraries that are needed to build.
Once you have a current tree, the next step is building WebKit.
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 git://git.webkit.org/WebKit.git WebKit
If you want to be able to commit changes to the Subversion repository, or just want to check out branches that aren't contained in WebKit.git, you will need track the Subversion repository. For information about this, and other aspects of using Git with WebKit, read the wiki page.
At any time, you can rerun the update-webkit
script to update
your source tree.