Installation Guide¶
What you need before starting¶
| Requirement | Notes |
|---|---|
| Internet connection | To download Miniforge, conda packages, and source code |
| Git | The installer will tell you if it's missing (see Troubleshooting - Git Installation) for more info on how to install Git |
| GitHub PAT | Personal Access Token for the private repositories (see section Personal Access Token) |
| ~5 GB free disk space | For Miniforge, two conda environments, and source code |
GitHub Personal Access Token¶
To be able to download the private repositories that are part of the software dependencies, you need a GitHub Personal Access Token (PAT). To generate one, you need to have the access rights to the private repositories. If that's the case, follow these steps to generate a PAT that you can use for yourself to install the app or share with trusted users:
- Go to https://github.com/settings/tokens
- Click "Generate new token" (fine-grained, repo-scoped) (!! not the classic option)
- You can now give it a name to identify it (e.g.
SkInnervation3D install) and set the ownership to yourself or the organisation the repositories belong to. You can also set an expiration date.

- Under Repository access, select all the private repositories you want to grant access to (here
skinnervation-fractal-tasks). Finally, give it the contents permission, so that it can clone the repositories locally.

- Click "Generate token" and copy it safely. ⚠ The token is shown only once. Keep it somewhere safe until the install is done.
- During installation, you will be asked to enter the token. You can copy paste it when prompted. It won't appear as you type, that is normal, just press enter after copy-pasting it.
Installation steps per OS¶
macOS / Linux¶
- Download
install.shandinstall.pyfrom the GitHub repository and save them into the same folder - On Linux or macOS, open a terminal in that folder and run:
bash bash install.sh - On macOS you can double-click
install.shin Finder (right-click → Open).
Windows¶
- Download
install.batandinstall.pyfrom the GitHub repository and save them into the same folder - Double-click
install.bat - If Windows shows a security warning, click "Run anyway"
- If you get a permission error, right-click → "Run as administrator"
What the installer does¶
- Checks for Git — exits with an error if not found
- Installs Miniforge — if conda is not already on your system, Miniforge is downloaded and installed silently into
~/miniforge3 - Asks you three questions:
- Where to install the app files (default:
~/SkInnervation3D) - Where your imaging data lives (used to pre-populate the file browser)
- Your GitHub PAT (typed invisibly, used only for cloning — never stored)
- Clones all repositories into
<install_dir>/repos/ - Creates two conda environments:
napari-crop— for the napari pluginskin3d-app— for the UI app and analysis packages- Writes a config file at
<install_dir>/skinnervation3d-app/src/skinnervation3d_app/config.py - Creates a desktop shortcut — double-click to launch the app
Updating¶
To update the application and all necessary packages to the latest version, re-run the installer. It will update
(git pull) each package instead of re-cloning, and skip environment creation if
the environments already exist.
For technical users¶
If you want to force a full reinstall of a specific conda environment, you can simply remove it:
conda env remove -n skin3d-app
conda env remove -n napari-crop
Then re-run the installer.
Troubleshooting¶
Summary¶
| Problem | Solution |
|---|---|
git: command not found |
Install Git from git-scm.com. See Troubleshooting - Git Installation for more infos |
Authentication failed when cloning repos |
Check your PAT has contents permissions for all private repositories and hasn't expired |
| App shortcut doesn't open | Open a terminal (macOS or Linux) or the miniforge prompt (Windows), run conda activate skin3d-app then skin3d-app. For windows, if this still fails, type python -m skinnervation3d_app instead of skin3d-app |
| Windows: PowerShell execution policy error | Run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser in PowerShell, then re-run install.bat |
| Conda env creation fails | Delete the partial env with conda env remove -n skin3d-app in a terminal (macOS or Linux) or the miniforge prompt (Windows) and re-run the installer |
Git Installation¶
- Download the latest installer from git-scm.com
-
Run it and click Next through most screens. The only options that matter are:
-
Override the default branch name for new repositories instead of Let Git decide
-
Adjusting your PATH environment → select Git from the command line and also from 3rd-party software (this is the default — just don't change it)
-
-
Everything else can stay at its default. Click through and finish.
- To verify it worked: open a new Terminal or Command Prompt on Windows and type git --version — you should see a version number.