ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.74k stars 1.31k forks source link

[Request] Add Microsoft Visual C++ Build Tools #1861

Open fritzmg opened 5 years ago

fritzmg commented 5 years ago

Some applications like CodeIntel that is installed via pip (Python) require the Microsoft Visual C++ Build Tools. It would be handy if these could be installed via scoop as well.

Ash258 commented 5 years ago

Are these build tools still installed using visual studio installer?

fritzmg commented 5 years ago

Yeah, I just noticed that they are installed via the Visual Studio Installer - so I am not sure if they can even be downloaded/installed in a stand alone way …

Ash258 commented 5 years ago

I was testing it few months back, but without success. Maybe someone will find way.

fritzmg commented 5 years ago

I just found this via https://stackoverflow.com/a/44953739/374996

rasa commented 5 years ago

See https://github.com/jberezanski/ChocolateyPackages/blob/master/visualstudio2019buildtools/tools/ChocolateyInstall.ps1 and https://github.com/jberezanski/ChocolateyPackages/blob/master/chocolatey-visualstudio.extension/extensions/Install-VisualStudio.ps1

Adriankhl commented 4 years ago

What about this https://github.com/felixrieseberg/windows-build-tools?

arrebole commented 4 years ago

I want windows sdk msvc

karan-sorout commented 3 years ago

Is this now added into extras? couldn't find it still, please help me with its name just in case I'm missing it.

milnak commented 1 year ago

You can install Visual Studio Build Tools using:

Invoke-WebRequest -Uri 'https://aka.ms/vs/17/release/vs_BuildTools.exe' -OutFile "$env:TEMP\vs_BuildTools.exe"

& "$env:TEMP\vs_BuildTools.exe" --passive --wait --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --remove Microsoft.VisualStudio.Component.VC.CMake.Project  

Don't include --remove Microsoft.VisualStudio.Component.VC.CMake.Project if you want CMake to be included. Personally, I use scoop install cmake as that has a newer version.

pcgeek86 commented 1 year ago

There's a conflict with the busybox package for link.exe, so I had to uninstall it. scoop uninstall busybox

HUMORCE commented 1 year ago

There's a conflict with the busybox package for link.exe, so I had to uninstall it. scoop uninstall busybox

You can manage them with scoop help shim

Cornelius-Figgle commented 9 months ago

was there a reason why this isn't packaged with Scoop? Can it not be done with the Visual Studio installer?

pidgeon777 commented 3 months ago

Hello, I wonder if there is any update, it would be cool to add the Build Tools to scoop.

avvo-na commented 3 months ago

this would be great!

niheaven commented 3 months ago

Ref: #13027

Eboubaker commented 3 weeks ago

Yeah, I just noticed that they are installed via the Visual Studio Installer - so I am not sure if they can even be downloaded/installed in a stand alone way …

It can be done in a standalone way chocolatey can do this: choco install python visualstudio2022-workload-vctools -y

pidgeon777 commented 3 weeks ago

choco install python visualstudio2022-workload-vctools -y

But this is for chocolatey, not scoop, right?

Eboubaker commented 3 weeks ago

choco install python visualstudio2022-workload-vctools -y

But this is for chocolatey, not scoop, right?

I want giving a reference that it can be done with a script. because someone said "Yeah, I just noticed that they are installed via the Visual Studio Installer - so I am not sure if they can even be downloaded/installed in a stand alone way …" I updatedd my comment to quote that