Vcpkg: Feature-Request: allow vcpkg initial-installation via Chocolatey (package manager)

Created on 19 Jul 2018  Â·  8Comments  Â·  Source: microsoft/vcpkg

The vcpkg bootstrap scripts on Windows seems reasonably nice, however, it might be a bit more convenient to install via the Chocolatey package manager, using a (potential) command such as the following:

choco install vcpkg
vcpkg-feature

All 8 comments

@DavidLudwig

You are right.

choco install vcpkg

is a lot nicer than:

bootstrap-vcpkg

A question, though, which package-manager do I use to install the package-manager chocolatey to install the package manager vcpkg?

Chocolatey's install process is done via it's own installer script. I find that its package catalog makes it a worthwhile install, in and of itself (with lots of Microsoft things in it!)

What about installation of vcpkg to one's PATH, via the bootstrap accept? I might be able to write something up for that, say, in GitHub Issues, if that'd be preferable. I have a hard time seeing some developers, especially beginners, dealing with the need to figure out PATH, or whatever its equivalent is in PowerShell (I am more of a command.com old-timer).

On Jul 20, 2018, at 12:41 AM, degski notifications@github.com wrote:

@DavidLudwig

You are right.

choco install vcpkg
is a lot nicer than:

bootstrap-vcpkg
A question, though, which package-manager do I use to install the package-manager chocolatey to install the package manager vcpkg?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@DavidLudwig

What about installation of vcpkg to one's PATH, via the bootstrap accept?

The path is not hard, though, if one cannot learn even the most basic OS stuff, there's no use in trying to tackle C++.

set PATH=%PATH%;C:\some_path;

There is Varpanel, very useful and usable by beginners. There is also HashTab, from the same company, equally useful.

... or whatever its equivalent is in PowerShell ...

There's no need to use PS (all works equally fine from a developer-cmd-prompt). I'm also more a cmd man, but, Windows Powershell ISE is freakin' nice.

I'll check out chocolatey.

Cool, and thanks for the tips!

the best edit Environment
https://www.rapidee.com/en/screenshots

Any update on this issue?

@degski Let's put the question this way, can vcpkg update itself? if yes, you probably don't need chocolatey that much. Otherwise, it would really be helpfull. Plus installing via choco or homebrew is easier than cloning the git repo and compiling IMHO.

@Foadsf its better to have a central place to download windows packages still imo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

angelmixu picture angelmixu  Â·  3Comments

ThinkalVB picture ThinkalVB  Â·  3Comments

pakdel picture pakdel  Â·  3Comments

oahzuw picture oahzuw  Â·  3Comments

tzbo picture tzbo  Â·  3Comments