|
Windows |
macOS Newly added and may not be fully functional |
macOS |
Linux |
|
|---|---|---|---|---|
| Stable Release access older releases |
Not available | |||
| Preview Release |
Command Line Install
3D Slicer can also be installed with a single command. It downloads the latest Stable Release, verifies its SHA512 checksum, and installs it for the current user, without administrator rights.
powershell -c "irm https://download.slicer.org/install.ps1 | iex"
curl -fsSL https://download.slicer.org/install.sh | sh
curl -fsSL https://download.slicer.org/install.sh | sh
In PowerShell or the command prompt
In a terminal
In a terminal
It is a good practice to verify the integrity of your downloaded Slicer package by checking its checksum against the expected values.
| Package | SHA512 Checksum |
|---|---|
| Windows | 5ba320cb67f0acdaacf0a31380e9cf3b9f46d05f57a53da7e04ebcd9490251ecbe998bfefdbdab1f747e038653177868cdb0ad30986473b9d68efba0f4c6045c |
| macOS Apple Silicon | Not available |
| macOS Intel | 122c5c33d68189cd5b8212ad489c7fa319ae2ba8126014bfb7c4ed1a4a02475fe1b78d45d71b22685be255e22cdb1ae7e696d05ee34b031795187f0a1c38a6e1 |
| Linux | ac76c5061a8fff20d4e59732855f74360930fd4891450085bcbc6a8eb1a1f4ade9a1ca4fc633142661b714dbe8c4604306079f9546e52053faa5e6f99410cf76 |
| Windows (preview) | 7f4cafe01f7e9a5c9bad3c98ea7fcdeba4daf74025dc59db787df315f59a35d563bdbc5e7a20f0dc34b76a3135fb61532a2cf5513183225b1a87c72d58114c78 |
| macOS Apple Silicon (preview) | acbf41baceb4b958ef6adbc3f357b3534035ad0f99448b0b18e2c9e441872f0d917f9c44c6bf4f96933c818e9ad7520a11afcca5cb623aeeded011c13cd8e75b |
| macOS Intel (preview) | 6f361d96340ba78046d14d930c68a931046fc753bbe363962cc42aa94fb004048548b4eeb3a5057619e4fb63b5a6975fab354658ac9cca3f93920f02ba591c85 |
| Linux (preview) | 730e396c303b84317a41886cfda8fcbd606227e2d3da8685b1d7751a80627d272ab9b3807e6e9fa9fac8188430f3cb7e080a6c73f3c8ac92b4f06168f7c41324 |
For each Slicer package listed above, we provide a SHA512 checksum. You can use this checksum to validate that your downloaded file has not been tampered with or corrupted during the download process.
To verify the integrity of your downloaded package using the checksum, follow these general steps:
Get-FileHash {package filename} -Algorithm SHA512
shasum -a 512 {package filename}
sha512sum {package filename}
By verifying the checksum of your downloaded package, you can ensure that it has not been tampered with during the download process or otherwise corrupted.
Slicer packages are named based on the following naming convention:
For Stable Builds:
Slicer-X.Y.Z-<os>-<arch>.<extension>
For Preview Builds:
Slicer-X.Y.Z-YYYY-MM-DD-<os>-<arch>.<extension>
where:
X.Y.Z |
The version number of the application |
YYYY-MM-DD |
(only for Preview Builds) The date of the commit from which the package was built |
<os> |
The operating system for which the package was built (e.g. "win" for Windows, "macosx" for macOS, and "linux" for Linux) |
<arch> |
The architecture for which the package was built (e.g. "amd64" for 64-bit x86 architecture, and "arm64" for 64-bit ARM architecture) |
<extension> |
The extension indicating the file format of the package (e.g. ".tar.gz" for a compressed archive, or ".exe" for a Windows executable) |
Download an older and unsupported Slicer Stable Release:
Get older Slicer Preview Releases:
Older Slicer Preview Releases can be accessed by adding the offset parameter to the download page URL. For example, to get Slicer Preview Release from 7 days ago: http://download.slicer.org/?offset=-7.
All available options:
stability: can be release, nightly, or any
os: can be win, macosx, or linux
arch: can be amd64 (default) or arm64, for example os=macosx&arch=arm64 selects a macOS Apple Silicon packagedate: revision built before or on the date, for example date=2015-01-01
checkout-date: revision checked out before or on the date, for example checkout-date=2015-01-01
revision: exact revision, for example revision=27000
closest-revision: revision less than or equal, for example closest-revision=26000
version: latest revision of branch, can include patch as well, for example version=4.3 offers download of Slicer-4.3.1offset: can be combined with date, checkout-date, revision, closest-revision, version to get version days, revisions, or versions before or after the specified, for example https://download.slicer.org/?version=5.6.2&offset=-1 provides version 5.6.1, one version before the specified 5.6.2 release.Get older Slicer Extensions:
Extensions can be downloaded for old Slicer releases manually from the Extensions Catalog at the URL: https://extensions.slicer.org/catalog/All/(revision_number)/(operating_system)/(architecture).
Revision number is available on this download page or in an installed Slicer application in menu: Help / About Slicer. Operating system can be: win, macosx, or linux. Architecture is optional and can be amd64 (default) or arm64.
For example, for Slicer-4.8.0 on Windows extensions are available at: https://extensions.slicer.org/catalog/All/26489/win.
The command line install only installs Slicer. When it finishes, it prints the bin directory inside the installation that holds these optional helper scripts:
slicer-deps --install (Linux): installs the system libraries Slicer needs, using sudo. Run it if Slicer does not start.slicer-language list, then for example slicer-language es-419: installs an interface language and switches Slicer to it.slicer-shortcuts: adds a desktop icon and pins Slicer to the dock. On Windows it adds a desktop shortcut; pinning to the taskbar is left to you, since Windows does not let programs pin themselves.On Windows the helpers are PowerShell scripts, slicer-language.ps1 and slicer-shortcuts.ps1. Run them with powershell -ExecutionPolicy Bypass -File "<Slicer folder>\bin\slicer-shortcuts.ps1", because Windows blocks running a .ps1 file by name by default.
Environment variables select a preview release, a specific version or revision, the install directory, what to do with an existing installation, and quiet or non-interactive use. On Linux and macOS they go right before sh, for example curl -fsSL https://download.slicer.org/install.sh | SLICER_RELEASE_TYPE=preview sh. The environment variable reference describes each of them, with examples for every platform.