-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Example usage for windows works neither in PowerShell nor in command prompt (tested in Windows 10 sandbox).
curl -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp_windows.exe"That works in command prompt. However, it fails in PowerShell. Curl is an alias for Invoke-WebRequest in PowerShell. Replacing curl with curl.exe should work:
curl.exe -LJO "https://github.com/aminya/setup-cpp/releases/download/v0.14.0/setup_cpp_windows.exe"./setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg trueThat works in PowerShell but fails in the command prompt. Replacing Forward Slash with Backslash should work:
.\setup_cpp_windows --compiler llvm --cmake true --ninja true --ccache true --vcpkg trueMoreover, RefreshEnv.cmd fails If chocolatey has just been installed by setup_cpp. I am not sure what is the best solution in this case.
\ProgramData\chocolatey\bin\RefreshEnv.cmdThe above command works unless you have changed chocolatey default install location. However, both fails when you don't have choco installed, and setup_cpp does not install it either.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation