Skip to content

Commit 1eeb715

Browse files
Reorganize bundle instructions page to make it easier to navigate and provide download links (#813)
Closes: #714 Note: this is a reorganization borne out of a review by Harry Barng at SciPy 2025 # Description This PR makes it simpler to navigate the bundle installation: 1. adds tiles to jump to the instructions for a chosen OS 2. adds direct links to the proper GitHub download for the version. Note I tried to use tiles for this, but the version substitution didn't work. I'm open to other suggestions for how to do it. E.g. it might be possible to use an image as the click target. After discussing with Harry we decided that best was the enemy of the good and this was still worth implementing. I also made some copy edits, mostly to just standardize on "app" for this, since bundle isn't at all obvious to the target audience, while everyone is familiar with apps.
1 parent 203457d commit 1eeb715

File tree

1 file changed

+69
-27
lines changed

1 file changed

+69
-27
lines changed

docs/tutorials/fundamentals/installation_bundle_conda.md

Lines changed: 69 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,65 @@ jupyter:
1313
name: python3
1414
---
1515

16-
# How to install napari as a bundled app
16+
# How to install the napari app
1717

18-
napari can be installed as a bundled app on [MacOS](#how-to-install-the-macos-bundle), [Windows](#how-to-install-the-windows-bundle), and [Linux](#how-to-install-the-linux-bundle) with a simple one click download and guided installation process. This installation method is best if you mainly want to use napari as a standalone GUI app. However, certain plugins may not be supported.
18+
napari can be installed as a bundled app on [MacOS](#macos-bundle), [Windows](#windows-bundle), and [Linux](#linux-bundle) with a simple one click download and guided installation process. This installation method is best if you mainly want to use napari as a standalone GUI app. However, certain plugins may not be supported.
1919

2020
```{note}
21-
If you want to use napari from Python to programmatically interact with the app, please follow the [Python package installation guide](installation.md#install-as-python-package-recommended). This installation method is recommended to take full advantage of napari's features and to access additional plugins.
21+
* If you want to use napari within a Python project, please follow the [Python package installation guide](installation.md#install-as-python-package-recommended).
22+
* If you want to contribute code back into napari, please follow the [development installation instructions in the contributing guide](napari-contributing).
2223
```
2324

24-
```{note}
25-
If you want to contribute code back into napari, please follow the [development installation instructions in the contributing guide](napari-contributing).
26-
```
25+
## Prerequisites
26+
27+
This installation method does not have any prerequisites.
28+
29+
## Download and install the napari app ({{ napari_version }}) for your operating system
30+
31+
Click the tile below to jump to the installation instructions for your operating system.
2732

28-
To start, visit the [latest napari release page](https://github.com/napari/napari/releases/latest) and go to the 'Assets' tab and download the file that corresponds to your operating system:
33+
::::{grid}
2934

30-
- Windows users will want the `*-Windows-x86_64.exe` installer.
31-
- For macOS users, it depends on the processor. This can be checked by going to Apple menu > About This Mac.
32-
- For Intel processors, download the `*-macOS-x86_64.pkg` installer
33-
- For Apple processors, download the `*-macOS-arm64.pkg` installer.
34-
- Linux users will need to choose the `*-Linux-x86_64.sh` installer.
35+
:::{grid-item-card} macOS
36+
:link: macos-bundle
37+
:link-type: ref
38+
:::
39+
40+
:::{grid-item-card} Windows
41+
:link: windows-bundle
42+
:link-type: ref
43+
:::
44+
45+
:::{grid-item-card} Linux
46+
:link: linux-bundle
47+
:link-type: ref
48+
:::
49+
50+
::::
3551

36-
![Cropped screenshot of the GitHub Releases page for napari version 0.4.15. The expanded assets tab shows a number of installers available for different operating systems and architectures. Yellow rectangles highlight the files that correspond to the conda-based installers described in this tutorial.](../../_static/images/bundle_02.png)
3752

3853
```{note}
39-
If you are interested in an earlier version of napari, you may access those files by scrolling below the latest release on the [napari release page](https://github.com/napari/napari/releases). The instructions below will work for napari versions 0.4.15 and above.
54+
If you are interested in an earlier version of the napari app, you may access those files by scrolling below the latest release on the [napari GitHub release page](https://github.com/napari/napari/releases). Each release (0.4.15 and above) will have an "Assets" section with the installers for Windows, macOS, and Linux.
4055
```
4156

42-
## Prerequisites
57+
(macos-bundle)=
4358

44-
This installation method does not have any prerequisites.
59+
## How to install the macOS app
4560

46-
### How to install the macOS bundle
61+
Download the napari app ({{ napari_version }}) for your platform:
4762

48-
Once you have downloaded the appropriate macOS package file, you will have a file with a name like `napari-0.5.0-macOS-x86_64.pkg`. Double click this file to open the installer.
63+
```{admonition} macOS Apple Silicon (arm64)
64+
:class: admonition
65+
{{ '# [Download from GitHub](https://github.com/napari/napari/releases/download/vNAPARI_VER/napari-NAPARI_VER-macOS-arm64.pkg)'.replace('NAPARI_VER', napari_version) }}
66+
```
67+
68+
```{admonition} macOS Intel (x86)
69+
:class: admonition
70+
{{ '# [Download from GitHub](https://github.com/napari/napari/releases/download/vNAPARI_VER/napari-NAPARI_VER-macOS-x86_64.pkg)'.replace('NAPARI_VER', napari_version) }}
71+
```
72+
73+
Once you have downloaded the appropriate macOS package file, you will have a file with a name like `napari-0.5.0-macOS-x86_64.pkg`, but the version number will be {{ napari_version }}.
74+
Double click this file to open the installer.
4975

5076
![Cropped screenshot of macOS desktop UI showing the icon of the PKG installer file, and an arrow pointing to the Welcome page in the opened PKG installer.](../../_static/images/bundle_04.png)
5177

@@ -77,21 +103,27 @@ After finishing with no errors, a new page with the text "The installation was s
77103

78104
![Cropped screenshot of the final page of the PKG installer, Summary, reporting "The installation was successful" with a green check mark icon. A blue Close button is available.](../../_static/images/bundle_11.png)
79105

80-
Click Close to finish. You can now get started using napari! Use Launchpad to open the application.
106+
Click Close to finish. You can now get started using napari like any macOS application! You can use Launchpad to open it or find it using the Finder, under 🏠 [User directory] > Applications.
81107

82108
![Montage of two cropped screenshots. On the left, the macOS finder icon and the Launchpad icon, highlighted with a red circle. On the right, the opened launchpad UI showing a 4x4 grid of applications icon, with napari appearing in the bottom right corner.](../../_static/images/bundle_13.png)
83109

84-
```{note}
85-
The first time you open napari you must use the Launchpad, but in subsequent uses, the napari application should show up in Spotlight search ({kbd}`⌘+spacebar`). The application shortcut will also be available in Finder, under 🏠 [User directory] > Applications.
86-
```
87-
88110
napari comes installed with sample images from scikit-image. Use the dropdown menu File > Open Sample > napari to open a sample image, or open one of your own images using File > Open or dragging and dropping your image onto the canvas.
89111

90112
Next check out our [tutorial on the viewer](viewer.md) or explore any of the pages under the [Usage tab](../../usage.md).
91113

92-
### How to Install the Windows bundle
114+
(windows-bundle)=
115+
116+
## How to install the Windows app
93117

94-
Once you have downloaded the Windows executable file, you will have a file with a name like `napari-0.5.0-Windows-x86_64.exe`. Double click this file to open the napari Setup.
118+
Download the napari app ({{ napari_version }}) for your platform:
119+
120+
```{admonition} Windows (x86_64)
121+
:class: admonition
122+
{{ '# [Download from GitHub](https://github.com/napari/napari/releases/download/vNAPARI_VER/napari-NAPARI_VER-Windows-x86_64.exe)'.replace('NAPARI_VER', napari_version) }}
123+
```
124+
125+
Once you have downloaded the Windows executable file, you will have a file with a name like `napari-0.5.0-Windows-x86_64.exe`, but the version number will be {{ napari_version }}.
126+
Double click this file to open the napari Setup.
95127

96128
![Montage of the napari EXE installer icon with an arrow pointing to the Welcome page of the napari EXE installer on Windows.](../../_static/images/bundle_17.png)
97129

@@ -121,9 +153,19 @@ napari comes installed with sample images from scikit-image. Use the dropdown me
121153

122154
Next check out our [tutorial on the viewer](viewer.md) or explore any of the pages under the [Usage tab](../../usage.md).
123155

124-
### How to Install the Linux bundle
156+
(linux-bundle)=
157+
158+
## How to install the Linux app
159+
160+
Download the napari app ({{ napari_version }}) for your platform:
161+
162+
```{admonition} Linux (x86_64)
163+
:class: admonition
164+
{{ '# [Download from GitHub](https://github.com/napari/napari/releases/download/vNAPARI_VER/napari-NAPARI_VER-Linux-x86_64.sh)'.replace('NAPARI_VER', napari_version) }}
165+
```
125166

126-
Once you have downloaded the Linux SH file, you will have a file with a name like `napari-0.5.0-Linux-x86_64.sh`. Open a new terminal window, navigate to the downloads folder (usually `cd ~/Downloads`) and run the command `bash napari-*-Linux-x86_64.sh`.
167+
Once you have downloaded the Linux SH file, you will have a file with a name like `napari-0.5.0-Linux-x86_64.sh`, but the version number will be {{ napari_version }}.
168+
Open a new terminal window, navigate to the downloads folder (usually `cd ~/Downloads`) and run the command `bash napari-*-Linux-x86_64.sh`.
127169

128170
![Montage of the SH installer icon on Ubuntu, with an arrow pointing to an open terminal instance with a pre-typed command that reads 'bash napari-0.4.14.dev73-Linux-x86_64.sh'.](../../_static/images/bundle_28.png)
129171

0 commit comments

Comments
 (0)