-
Notifications
You must be signed in to change notification settings - Fork 229
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
[BUG] The install.sh
script uses /usr/local/bin/fvm
as a link target which requires sudo privileges
#699
Comments
@Nidal-Bakir can you do a PR so I can review? |
sure thing... |
I am facing this issue for a long time. I hope the PR will be merged as soon as possible. Thanks @Nidal-Bakir |
@Nidal-Bakir I tried this and it started working fine.
👍 |
@azharbinanwar And you should use the update script We did not make a final decision about the changes yet. You probably should wait until the PR is merged and the package owner approves the changes. |
Thank you for your quick response. |
for linux make sure $HOME/.local/bin/ parent dirs exists.. |
Got the same issue, ubuntu 24.04, permission denied |
Without sudo, the installation command(
|
Before creating a bug report please make check the following
pub cache repair
. Close the terminal and try again.administrator
or withdeveloper
permissions.fvm doctor
if possible and add the output to the issue.Describe the bug
When using the
install.sh
to install the FVM as a standalone bin the script will try to create a link target in the/usr/local/bin/fvm
which requires sudo privileges.To Reproduce
Steps to reproduce the behavior:
curl -fsSL https://fvm.app/install.sh | bash
Expected behavior
The FVM bin can be run from anywhere on the system after installation.
Logs
N/A
Desktop (please complete the following information):
Additional context
we have tow options to discuss:
/usr/local/bin/fvm
without any errors$HOME/.local/bin/fvm
I have modified the install.sh script to use
$HOME/.local/bin/fvm
and everything worked as expected.The text was updated successfully, but these errors were encountered: