Skip to content
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

Installing specific version of a package on CLI #38767

Open
martingalvan-volue opened this issue May 16, 2024 · 3 comments
Open

Installing specific version of a package on CLI #38767

martingalvan-volue opened this issue May 16, 2024 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@martingalvan-volue
Copy link

martingalvan-volue commented May 16, 2024

Hi, I wish to install a specific version of a package using the command line. How can I do this? The only documentation I've found is this link, describing an rather complicated process using manifest mode: https://learn.microsoft.com/en-us/vcpkg/consume/lock-package-versions

@bansan85
Copy link
Contributor

Unfortunately, it's not possible without the manifest mode.

#25622

@StarGate-One
Copy link
Contributor

You can create an overlay port that selects/installs the version of a port you need without manifest mode.
See https://learn.microsoft.com/en-us/vcpkg/concepts/overlay-ports

@LilyWangLL LilyWangLL added the category:question This issue is a question label May 17, 2024
@martingalvan-volue
Copy link
Author

Hi, thanks for the responses.

Unfortunately, it's not possible without the manifest mode.

That's unfortunate since this sounds like a basic feature which is present in every other dependency management software I've used. @LilyWangLL I see you've been assigned this issue, do you know what is the ETA for it?

You can create an overlay port that selects/installs the version of a port you need without manifest mode. See https://learn.microsoft.com/en-us/vcpkg/concepts/overlay-ports

That sounds also quite complex for such a basic task. I just wish to do something like e.g. vcpkg install some_lib=4.2, without having to set up any files or additional machinery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

4 participants