-
Is it possible to install pixi (as root) for all users (on Linux)? If yes, how? I have investigated a bit, but did not find anything conclusive. |
Beta Was this translation helpful? Give feedback.
Answered by
pavelzw
May 20, 2024
Replies: 1 comment 4 replies
-
Since this is a statically linked binary, you can just put it in curl -Ls \
"https://github.com/prefix-dev/pixi/releases/download/v0.22.0/pixi-$(uname -m)-unknown-linux-musl" \
-o /usr/local/bin/pixi
chmod +x /usr/local/bin/pixi If you also want to add
This will adjust the |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ruben-arts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since this is a statically linked binary, you can just put it in
/usr/local/bin/pixi
.curl -Ls \ "https://github.com/prefix-dev/pixi/releases/download/v0.22.0/pixi-$(uname -m)-unknown-linux-musl" \ -o /usr/local/bin/pixi chmod +x /usr/local/bin/pixi
If you also want to add
~/.pixi/bin
to$PATH
(forpixi global install
), you could add something like this to/etc/bash.bashrc
This will adjust the
$PATH
inbash
. You can do similar things inzsh
andfish
by modifying/etc/zshenv
and/etc/fish/config.fish
.