Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install pixi in Git Bash environment? #965

Closed
2 tasks done
jdblischak opened this issue Mar 12, 2024 · 2 comments · Fixed by #966
Closed
2 tasks done

How to install pixi in Git Bash environment? #965

jdblischak opened this issue Mar 12, 2024 · 2 comments · Fixed by #966
Labels
🐞 bug Something isn't working

Comments

@jdblischak
Copy link
Contributor

jdblischak commented Mar 12, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

# In Git Bash for Windows
uname -a
## MINGW64_NT-10.0-22631 MSI 3.4.9-be826601.x86_64 2023-09-07 12:36 UTC x86_64 Msys

curl -fsSL https://pixi.sh/install.sh | bash
## This script will automatically download and install Pixi (latest) for you.
## Getting it from this url: https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-MINGW64_NT-10.0-22631.tar.gz
## The binary will be installed into '/c/Users/john/.pixi/bin'
## #################################################################################################### ############## 100.0%
## error: 'https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-MINGW64_NT-10.0-22631.tar.gz' is not available

Issue description

I would like to use pixi in the Git Bash shell for Windows. Thus I followed the installation instructions for macOS and Linux because they use bash, whereas the Windows installation instructions use iwr and iex (which don't exist in the PATH for Git Bash).

I'm willing to help troubleshoot the pixi shell issue in #417 if I can get pixi installed easily.

Expected behavior

I expected it to download and install a compatible Linux Windows release of pixi for use in Git Bash

@jdblischak jdblischak added the 🐞 bug Something isn't working label Mar 12, 2024
@wolfv
Copy link
Member

wolfv commented Mar 12, 2024

Hey @jdblischak – the install.sh script is part of this repository. You could try to modify it to install the correct executable on Windows: https://github.com/prefix-dev/pixi/blob/main/install/install.sh

The pixi shell is another issue, that we could follow up on.

@jdblischak
Copy link
Contributor Author

You could try to modify it to install the correct executable on Windows

@wolfv Thanks for the tip! I've started my attempt in #966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants