# Elastix via command line

**URL:** <https://discourse.slicer.org/t/elastix-via-command-line/4769>\
**Category:** Development\
**Created:** [November 15, 2018, 7:09pm UTC](https://discourse.slicer.org/t/elastix-via-command-line/4769 "2018-11-15T19:09:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://discourse.slicer.org/u/alex)\
**Post date:** [November 15, 2018, 7:09pm UTC](https://discourse.slicer.org/t/elastix-via-command-line/4769/1 "2018-11-15T19:09:36Z")

</div>

Hi Andras et al,

I truly enjoy the elastix module. Given that have a large amount of data that I would like process, I am looking for easiest way to do this via a command line. Is there anything available that is close to BRAINSfit (via CLI)?

Thanks  
ALex

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 15, 2018, 7:16pm UTC](https://discourse.slicer.org/t/elastix-via-command-line/4769/2 "2018-11-15T19:16:24Z")

</div>

If you need to process many datasets, you will probably be better of running Elastix directly, unless you need some sort of interaction with Slicer as a preprocessing step.  
[http://elastix.isi.uu.nl/](http://elastix.isi.uu.nl/)

---

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://discourse.slicer.org/u/alex)\
**Post date:** [November 15, 2018, 7:24pm UTC](https://discourse.slicer.org/t/elastix-via-command-line/4769/3 "2018-11-15T19:24:12Z")

</div>

Thanks for your quick response. I am currently compiling it.

---

<div class="post-metadata">

**Author:** ![adamrankin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/adamrankin/32/155_2.png) [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Post date:** [November 15, 2018, 7:25pm UTC](https://discourse.slicer.org/t/elastix-via-command-line/4769/4 "2018-11-15T19:25:23Z")

</div>

This may be of use:

[https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Launching\_Slicer](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Launching_Slicer)
