-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Question: How to update curl version in Bash console? #2922
Comments
Put the new |
This worked thank you I forgot about this option Also sorry for the late reply but since I am not an advanced user I would like to ask what to do if the program exe has additional folders with libraries and files should I also copy them inside For example the curl program full version download has this folder structure: ├───bin with Should I copy all these curl folders to Thanks again for the help |
Ok so I wanted to write one last update to this issue before I consider it settled Since in this case the program .exe file is inside a nested folder structure I decided to delete everything from To do that I write this command at the last line of user_profile.sh export PATH="/c/User_Defined_PATH_Dir/curl/bin:$PATH" This way "curl --version" detects the updated 8.6.0 in the Cmder Bash console. Also when I run "which curl" it points to the user defined install directory The only side-effect is when I run "echo $PATH" it prints "/c/User_Defined_PATH_Dir/curl/bin" 2 times: at the start of the output and then a second time in the original position (since this Windows PATH was detected before but still the Bash console didnt use the updated 8.6.0 version... maybe because the entry order has changed now?) I dont know if this is a bug or working as intended but I consider this a better solution when a program uses nested folders with libraries and dependencies Thank you very much for the help Cmder is becoming my favorite software in Windows Im still learning but I will be sure to support it any way I can |
there is no harm in what you have done but another approach might be to add an alias command to
Additionally you could add the same command above to |
I edited my last comment after I realized you were only trying to override curl path in Cmder bash. |
Question
Hello I use Cmder 1.3.24 on Windows 10 Version 21H2 (OS Build 19044.1288)
It happens I have downloaded an updated version 8.6.0 of the curl program from
https://curl.haxx.se/windows
and installed it in a custom directory I included in the Windows OS PATH environment variableWith a CMD Cmder console this updated curl version checks when I use
curl --version
and is used over both the default Windows and Cmder standard curl versionsHowever my problem is in a BASH Cmder console
curl --version
shows an outdated versioncurl 8.1.2
and the commandwhich curl
prints/mingw64/bin/curl
My question is what could be the official and fail-proof way to update the curl program to the last version for a BASH Cmder console ?
Checklist
The text was updated successfully, but these errors were encountered: