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

Where should pre-built py.exe be installed? #2

Closed
hwine opened this issue Jun 12, 2022 · 1 comment
Closed

Where should pre-built py.exe be installed? #2

hwine opened this issue Jun 12, 2022 · 1 comment

Comments

@hwine
Copy link

hwine commented Jun 12, 2022

Thanks for the pre-built version!

One question, as my web searches haven't found anything -- what's the recommended install location for local tools like this on windows? (On *nix, I'd put it in ~/.local/bin/.)

Or maybe the question should be: what's the common install location for rust tools on windows? I see the topic described for rust developers, but not for rust tool users.

@hwine hwine changed the title Where should pre-build py.exe be installed? Where should pre-built py.exe be installed? Jun 12, 2022
@limitedeternity
Copy link
Owner

limitedeternity commented Jun 13, 2022

image

Actually, there is nothing like ~/.local/bin on Windows. You can either stick to $HOME\.cargo\bin as mentioned above, or create any directory anywhere you want. Just don't drop untrusted binaries into C:\Windows\System32.

Also, don't forget to add the directory where you put py.exe into $PATH: https://medium.com/@kevinmarkvi/how-to-add-executables-to-your-path-in-windows-5ffa4ce61a53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants