# ForUsers

If you want to use VTK Examples you have several options. If you are a Wiki Example Developer, go here or a Wiki Example Administrator go here.

## Build an example

At the bottom of each example page, there are instructions on how to build the example.

## Build all of the examples

If you are really getting excited about learning VTK and are tried of downloading individual examples you can build them all.

1. As a VTK Remote module

When you configure your VTK build, set Module_WikiExamples:BOOL=ON and rebuild VTK.

1. Download a zip containing the source.

2. Clone the VTK examples repository

       git clone https://github.com/lorensen/VTKExamples.git
       cd VTKExamples
       cd build
       cmake -DVTK_DIR:PATH=YOUR_VTK_BIN_DIR -DBUILD_TESTING:BOOL=ON ..
       make

where YOUR_VTK_BIN_DIR is the location of your VTK build.

### Update the examples repository

If you cloned the examples repository, you can get the latest updates:

    cd VTKExamples
    git pull
    cd build
    cmake ../VTKExamples
    make

### Run all of the examples

`ctest`