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