# Run Slicer from console (bash)

**URL:** <https://discourse.slicer.org/t/run-slicer-from-console-bash/41557>\
**Category:** Support\
**Tags:** segmentation, dicom, python, 3d-model\
**Created:** [February 7, 2025, 3:00pm UTC](https://discourse.slicer.org/t/run-slicer-from-console-bash/41557 "2025-02-07T15:00:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbasiuk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lbasiuk/32/79385_2.png) [@lbasiuk](https://discourse.slicer.org/u/lbasiuk)\
**Post date:** [February 7, 2025, 3:00pm UTC](https://discourse.slicer.org/t/run-slicer-from-console-bash/41557/1 "2025-02-07T15:00:14Z")

</div>

Hello everyone, I have been a Slicer user for a few years, always from the graphical interface. Thinking about automating some tasks, I was thinking about the possibility of loading medical images, segmenting them and creating a .stl volume from the console using a script. Is that possible? Thank you in advance.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [February 7, 2025, 3:57pm UTC](https://discourse.slicer.org/t/run-slicer-from-console-bash/41557/2 "2025-02-07T15:57:02Z")

</div>

You can have a look at the slicerio package.

> **[GitHub - lassoan/slicerio: Utilities for reading and writing files created by...](https://github.com/lassoan/slicerio?tab=readme-ov-file#view-files-in-3d-slicer)**
>
> Utilities for reading and writing files created by 3D Slicer
