r/PowerShell • u/anonymous_1324531 • Jul 03 '26
Question is this command safe?
im trying to install open jarvis on my pc is this command safe?
powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex
0
Upvotes
2
u/felix1429 Jul 03 '26
The script installs Astral's Python package manager, so if that's what you're trying to do you should be okay. If not, don't run it.
17
u/PinchesTheCrab Jul 03 '26
This is simply no ta valid way to ask customers to install software. Period.
I quickly glanced at the script and it seems fine... today. Tomorrow someone could hijack the site and alter it to install malware. They should not be asking users to take this risk.
Furthermore, the code is not written very efficiently. 600 lines to install an app is code smell.
3
u/Upzie Jul 03 '26
you can run
This endsup giving you the content of the script which is something like this, I had to shorten it as it was to long for a reddit post
It pretty much just identiy your system and installs uv on it based of system and available tools.
updating things such as
There are no apparent issues with it.
2
u/BlackV Jul 04 '26 edited Jul 05 '26
100% no, it is not safe, ever!, you have 0 idea what is being downloaded and executed (regardless of how trusted the URI might be)
you should always look at the code being run before executing it
1
u/wrestler0609 Jul 03 '26
Rip it