# Offline installation of TotalSegmentator

**URL:** <https://discourse.slicer.org/t/offline-installation-of-totalsegmentator/26735>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [December 14, 2022, 5:33pm UTC](https://discourse.slicer.org/t/offline-installation-of-totalsegmentator/26735 "2022-12-14T17:33:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Augusto](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/augusto/32/17710_2.png) [@Augusto](https://discourse.slicer.org/u/Augusto)\
**Post date:** [December 14, 2022, 5:33pm UTC](https://discourse.slicer.org/t/offline-installation-of-totalsegmentator/26735/1 "2022-12-14T17:33:12Z")

</div>

Hello,

I have a computer with 3D Slicer, but has no internet connection, therefore to install extensions i have to download them from another computer and passed the folder to the one having 3D Slicer installed.  
I saw TotalSegmentator was not yet available in the extensions catalog ([@KitwareMedical/slicer-extensions-webapp](https://extensions.slicer.org/catalog/All/30822/win)).  
Is there a way to download it ?

Thanks

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [December 14, 2022, 6:56pm UTC](https://discourse.slicer.org/t/offline-installation-of-totalsegmentator/26735/2 "2022-12-14T18:56:20Z")

</div>

This is difficult because TotalSegmentator (the nnU-Net segmentation tool by Jakob Wasserthal and coworkers) gets pip-installed into Slicer´s Python directory during the first run via the extension.  
What probably works (not tested) Is to completely install 3D Slicer stable version as well as the TotalSegmentator extension as well as PyTorch on your computer with Internet, and finally run TotalSegmentator and check the results. Then move the complete Slicer directory to your other computer without the Internet. Please bear in mind that the size of the directory will be several GB.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 14, 2022, 7:25pm UTC](https://discourse.slicer.org/t/offline-installation-of-totalsegmentator/26735/3 "2022-12-14T19:25:43Z")

</div>

You can get the correct link for the extension catalog from the Extensions Manager:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/0/40b64a8caab91f4e9b23bc4ebcdb152012fa0121.png)

For Slicer-5.2.1 it is: [https://extensions.slicer.org/catalog/All/31317/win](https://extensions.slicer.org/catalog/All/31317/win)

However, as @rbumm explained above, TotalSegmentator downloads additional Python packages and models. All Slicer installation trees are fully portable, so if you can copy the `%localappdata%/NA-MIC/Slicer 5.2.1` folder to the offline computer that will contain all Slicer extension and Python packages. In addition to that you also need to copy the downloaded model weights cached in `%userprofile%\.totalsegmentator`

---

<div class="post-metadata">

**Author:** ![Augusto](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/augusto/32/17710_2.png) [@Augusto](https://discourse.slicer.org/u/Augusto)\
**Post date:** [December 14, 2022, 7:47pm UTC](https://discourse.slicer.org/t/offline-installation-of-totalsegmentator/26735/4 "2022-12-14T19:47:50Z")

</div>

Ok, thank you for the help!

---

<div class="post-metadata">

**Author:** ![Augusto](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/augusto/32/17710_2.png) [@Augusto](https://discourse.slicer.org/u/Augusto)\
**Post date:** [December 14, 2022, 7:48pm UTC](https://discourse.slicer.org/t/offline-installation-of-totalsegmentator/26735/5 "2022-12-14T19:48:22Z")

</div>

I will try and do that

Thank you!
