Installing Powershell properly

I’ve been really enjoying my Framework 13 so far, but I’m really puzzled that Powershell is so hard to install correctly on Bluefin-DX. I got it to work a couple weeks ago with some struggles around having to brew install dotnet@8 (and not e.g. dotnet) and manual .profile hacking to get the right pair of environment variables changed, then dotnet install --global PowerShell. But then it broke again spontaneously at some point, so I had to do the brew, env-var dance again.

How is this supposed to work, really? Is this something for a distrobox or maybe even RPM layering?

Is this for development or just general scripting? If its for development then generally devcontainers are the way to go.

If it is for general (global) scripting, perhaps you could try using devbox.

Note that Devbox relies on the nix package manager. You can install it for bluefin using the determinate systems installer.

1 Like

Thanks for the tips! I was hoping to use it as a secondary or tertiary shell; I may want to back off from that more, but this gives me good perspective.

I was able to get a DetSys Nix+Devbox+pwsh installation to work correctly, even in a Ptyxis profile. I’ll call that good for now unless it breaks when I restart. :wink: