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### Install `bazelisk` 27If you intend to add or remove files, or change #includes, you will need to use Bazel to 28regenerate parts of the BUILD.bazel files. Instead of installing Bazel manually, we recommend 29you install [Bazelisk](https://github.com/bazelbuild/bazelisk#installation), which will fetch the 30appropriate version of [Bazel](https://bazel.build/) for you (as specified by //.bazelversion). 31 32## Clone the Skia repository 33 34Skia can either be cloned using `git` or the `fetch` tool that is 35installed with `depot_tools`. 36 37<!--?prettify lang=sh?--> 38 39 git clone https://skia.googlesource.com/skia.git 40 # or 41 # fetch skia 42 cd skia 43 python3 tools/git-sync-deps 44 bin/fetch-ninja 45 46## Getting started with Skia 47 48You will probably now want to [build](../build) Skia. 49 50## Changing and contributing to Skia 51 52At this point, you have everything you need to build and use Skia! If 53you want to make changes, and possibly contribute them back to the Skia 54project, read [How To Submit a Patch](/docs/dev/contrib/submit/). 55