volta
volta copied to clipboard
bash: line 1: Redirecting: command not found
[~/Downloads] # bash --version
GNU bash, version 3.2.57(1)-release (x86_64-QNAP-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.
Hi @impossible98, I'm not sure I follow the issue. Can you share the specific command and output you're seeing? Is it possible you have an alias for curl
that adds options changing the default behavior? Alternatively, do you have a firewall or something that is causing the wrong output from curl https://get.volta.sh
?
We haven't changed the install script or command in quite some time, and definitely did a lot of testing to get it to the point where we didn't need to provide extra options to curl
up-front, but I'd be happy to see if there's something that sticks out with the current command.
Hi @impossible98, I'm not sure I follow the issue. Can you share the specific command and output you're seeing? Is it possible you have an alias for
curl
that adds options changing the default behavior? Alternatively, do you have a firewall or something that is causing the wrong output fromcurl https://get.volta.sh
?We haven't changed the install script or command in quite some time, and definitely did a lot of testing to get it to the point where we didn't need to provide extra options to
curl
up-front, but I'd be happy to see if there's something that sticks out with the current command.
sorry, if I install
curl http://get.volta.sh | bash
I will get
bash: line 1: Redirecting: command not found
get_latest_release() {
curl --silent https://volta.sh/latest-version"
}
to
get_latest_release() {
curl --silent -L https://volta.sh/latest-version"
}
If the error you're getting is in bash
, I don't think changing the script itself will fix the underlying issue. It seems like you're getting a redirect response from the initial curl
call, which is causing the output to be Redirecting
instead of the actual script. However, nothing on the Volta servers does a redirect for either get.volta.sh
or volta.sh/latest-version
. Both are served directly (we made sure of that so we could simplify the install snippet as much as possible).
Is it possible you have a firewall or WIFI gateway that is intercepting your network requests and forcing a redirect?