Skip to content

Instantly share code, notes, and snippets.

@clbarnes
Last active March 12, 2026 10:18
Show Gist options
  • Select an option

  • Save clbarnes/94cfdf9fae71219537092f0301e215c7 to your computer and use it in GitHub Desktop.

Select an option

Save clbarnes/94cfdf9fae71219537092f0301e215c7 to your computer and use it in GitHub Desktop.
Installing napari (and empanada) on an ARM mac
#!/bin/bash
# follow pixi installation instructions https://pixi.prefix.dev/latest/installation/
curl -fsSL https://pixi.sh/install.sh | sh
exec $SHELL
# create a new project using pixi in the directory `my_project`
pixi init my_project
cd my_project
# add dependencies (default from conda)
pixi add 'python<3.14'
pixi add pyqt napari
# --pypi forces pypi installation
pixi add --pypi empanada-napari
# `pixi run` runs commands within the pixi environment
pixi run napari
# For my first run, it took a long time, and then none of the context menus showed up.
# Minimising and bringing it up again brought them back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment