Vcpkg installation prompts "'.\ vcpkg' is not an internal or external command, nor is it a runnable program"

problem description

I want to compile and install vcpkg, when entering commands headed by vcpkg, they all report an error: ".vcpkg" is not an internal or external command, nor is it a runnable program. I am not familiar with the use of orders. I hope you can give me some advice.

I"m trying the method in the vcpkg official documentation:

To get started:

> git clone https://github.com/Microsoft/vcpkg.git
> cd vcpkg

PS> .\bootstrap-vcpkg.bat

Then, to hook up user-wide integration, run (note: requires admin on first use)

PS> .\vcpkg integrate install

Install any packages with

PS> .\vcpkg install sdl2 curl

my running result:

git.exe has been added to my path variable path.
I hope you can give us some advice. Thank you!

Mar.29,2021
Menu