# Roadmap for Pixi

**URL:** <https://discuss.avogadro.cc/t/roadmap-for-pixi/6983>\
**Category:** Development\
**Created:** [June 4, 2025, 5:49pm UTC](https://discuss.avogadro.cc/t/roadmap-for-pixi/6983 "2025-06-04T17:49:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [June 4, 2025, 5:49pm UTC](https://discuss.avogadro.cc/t/roadmap-for-pixi/6983/1 "2025-06-04T17:49:38Z")

</div>

I’ve been chatting with @matterhorn103 about using `pixi` ([Getting Started - Pixi by prefix.dev](https://pixi.sh/latest/getting_started/)) for plugin management. The bonus as discussed in a [previous thread](https://discuss.avogadro.cc/t/pixi-and-plugin-environments/6713) is that pixi handles both PyPI and `conda-forge` packages.

Here’s a rough draft of what I’d like to do:

- include `pixi` in the Windows and Mac build “bundles” (presumably also with AppImage and Flatpak)
- on launch if `pixi` isn’t installed (e.g., Linux, FreeBSD, etc.) ask the user if they’d like to download it
  - I’m not super happy with the default mechanism to install `pixi` since it involves running a script directly from a website – seems very insecure vs. downloading from GitHub

- if a plugin (e.g., `xtb`) includes a `pyproject.toml` with appropriate sections, ask the user if they wish to run `pixi install` to install all dependencies

This means that Avogadro will need to track if a plugin is run via `pixi` - but this will support future efforts for non-Python plugins (e.g., `pixi run …`)

I would like to also offer:

- if `python` is not found, ask the user if they wish to `pixi global install python` (e.g., for the input generators
- this also offers the potential for a basic “avogadro environment” including the `avogadro` and `openchemistry` Python modules (and maybe `cclib` as well)

I think on Mac and Windows, this would be a clear win, since we can reliably install Python in a place we can find. It makes it much easier for simple scripts / plugins like the generators, etc. or a script console in Avogadro itself.

Thoughts? Complaints? Better ideas?

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [June 5, 2025, 1:58pm UTC](https://discuss.avogadro.cc/t/roadmap-for-pixi/6983/2 "2025-06-05T13:58:51Z")

</div>

Sounds good to me!

> [@ghutchis](#):
>
> I’m not super happy with the default mechanism to install `pixi` since it involves running a script directly from a website – seems very insecure vs. downloading from GitHub

I guess my question is: what does the script do beyond just downloading the binary and adding it to the `PATH`? Anything essential for it to work for our use-case?

For Linux, I would certainly endeavour to bundle it with the Flatpak.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [June 5, 2025, 3:00pm UTC](https://discuss.avogadro.cc/t/roadmap-for-pixi/6983/3 "2025-06-05T15:00:17Z")

</div>

The current script just downloads the binary and adds it to the `PATH`. But the idea of blindly running a script from a website is profoundly insecure. Easy enough for our use-cases.

> [@matterhorn103](#):
>
> For Linux, I would certainly endeavour to bundle it with the Flatpak.

Perfect, thanks. I’ll be working on some of the build scripts next week trying to get Qt6 builds for Windows and Mac.

---

<div class="post-metadata">

**Author:** ![matterhorn103](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/matterhorn103/32/1751_2.png) [@matterhorn103](https://discuss.avogadro.cc/u/matterhorn103)\
**Post date:** [June 5, 2025, 4:06pm UTC](https://discuss.avogadro.cc/t/roadmap-for-pixi/6983/4 "2025-06-05T16:06:50Z")

</div>

> [@ghutchis](#):
>
> The current script just downloads the binary and adds it to the `PATH`. But the idea of blindly running a script from a website is profoundly insecure. Easy enough for our use-cases.

Oh I agree of course. Just wondered how simple it will be to implement the effects of the script manually. Seems like it’ll be fine.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [April 14, 2026, 8:22pm UTC](https://discuss.avogadro.cc/t/roadmap-for-pixi/6983/5 "2026-04-14T20:22:15Z")

</div>

Split this topic on April 14, 2026, 8:22pm UTC

4 posts were split to a new topic: [Pixi issues with AppImage Release](https://discuss.avogadro.cc/t/pixi-issues-with-appimage-release/7412)
