• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1How to download Skia
2====================
3
4Install `depot_tools` and Git
5---------------------------
6
7Follow the instructions on [Installing Chromium's
8depot_tools](http://www.chromium.org/developers/how-tos/install-depot-tools)
9to download `depot_tools` (which includes gclient, git-cl, and Ninja).
10Below is a summary of the necessary steps.
11
12<!--?prettify lang=sh?-->
13
14    git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
15    export PATH="${PWD}/depot_tools:${PATH}"
16
17`depot_tools` will also install Git on your system, if it wasn't installed
18already.
19
20Clone the Skia repository
21-------------------------
22
23Skia can either be cloned using `git` or the `fetch` tool that is
24installed with `depot_tools`.
25
26<!--?prettify lang=sh?-->
27
28    git clone https://skia.googlesource.com/skia.git
29    # or
30    # fetch skia
31    cd skia
32    python tools/git-sync-deps
33
34Getting started with Skia
35-------------------------
36
37You will probably now want to [build](./build) Skia.
38
39Changing and contributing to Skia
40---------------------------------
41
42At this point, you have everything you need to build and use Skia!  If
43you want to make changes, and possibly contribute them back to the Skia
44project, read [How To Submit a Patch](../dev/contrib/submit).
45