You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: docs/tutorials/fundamentals/installation_bundle_conda.md
+69-27Lines changed: 69 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,39 +13,65 @@ jupyter:
13
13
name: python3
14
14
---
15
15
16
-
# How to install napari as a bundled app
16
+
# How to install the napari app
17
17
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.
19
19
20
20
```{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).
22
23
```
23
24
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.
27
32
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}
29
34
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
+
::::
35
51
36
-

37
52
38
53
```{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.
40
55
```
41
56
42
-
## Prerequisites
57
+
(macos-bundle)=
43
58
44
-
This installation method does not have any prerequisites.
59
+
## How to install the macOS app
45
60
46
-
### How to install the macOS bundle
61
+
Download the napari app ({{ napari_version }}) for your platform:
47
62
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.
49
75
50
76

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

79
105
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.
81
107
82
108

83
109
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
-
88
110
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.
89
111
90
112
Next check out our [tutorial on the viewer](viewer.md) or explore any of the pages under the [Usage tab](../../usage.md).
91
113
92
-
### How to Install the Windows bundle
114
+
(windows-bundle)=
115
+
116
+
## How to install the Windows app
93
117
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.
95
127
96
128

97
129
@@ -121,9 +153,19 @@ napari comes installed with sample images from scikit-image. Use the dropdown me
121
153
122
154
Next check out our [tutorial on the viewer](viewer.md) or explore any of the pages under the [Usage tab](../../usage.md).
123
155
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
+
```
125
166
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`.
127
169
128
170

0 commit comments