ITK/Git/Download
![]() | {{#switch:|User|User talk=This user {{#ifeq:ITK/Git|ITK/Git/Download||sub}}page is currently inactive and is retained for historical reference. {{#if: |It was last updated {{{last}}}.}} If you want to revive discussion regarding the subject, you might try contacting the user in question or seeking broader input via a forum such as the village pump.|#default={{#switch:{{{type}}}|policy=This former Wikipedia policy, no longer backed by community consensus, is retained for historical reference.|guideline=This former Wikipedia guideline, no longer backed by community consensus, is retained for historical reference.| |section=This section is currently out-of-date and may contain errors but is retained for historical reference. {{#if: || For peer-reviewed, authoritative guidance on ITK, see The ITK Software Guide.. Additional guidance can be found via the mailing lists.}} |woundup=This page has been closed down by community consensus, and is retained only for historical reference. For peer-reviewed, authoritative guidance on ITK, see The ITK Software Guide. If you wish to restart discussion on the status of this page, seek community input via the mailing lists].|#default=This section is currently out-of-date and may contain errors but is retained for historical reference. {{#if: || For peer-reviewed, authoritative guidance on ITK, see The ITK Software Guide. Additional guidance can be found via the ITK Discourse.}}}} {{#if: |{{{comment}}}|}} {{#if: |It was last updated {{{last}}}.}} }} | {{#if: | {{#if:
| {{#ifexist: | | }}}} }} |
{{#switch:|User|User talk=|#default={{#ifeq:{{{category}}}|no||}}}}
This page documents how to download ITK through Git. See our table of contents for more information.
Follow our Git download instructions to install Git.
Clone
Clone ITK using the commands | |
|
|
Clone ITKApps using the commands | |
|
Update
Users that have made no local changes and simply want to update a clone with the latest changes may run | |
|
|
Avoid making local changes unless you have read our developer instructions. |
Release
After cloning your local repository will be configured to follow the upstream master branch by default. This means you will have access to cutting edge features, but along with these may come cutting edge bugs :). One may create a local branch to track the upstream release branch instead, which should guarantee only bug fixes to the functionality available in the latest release: | |
|
|
This local branch will always follow the latest release. Use the above instructions to update it. Alternatively one may checkout a specific release tag: | |
|
|
Release tags never move. Repeat the command with a different tag to get a different release. One may list available tags: | |
|