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