If you want to use bower in Visual Studio you need to download the "Package Installer", then install to your Visual Studio.
How to add bower in visual studio?

From your Visual Studio => Extensions => Manage Extensions.
At the search box, you can enter "bower", then download and install the Package Installer for Visual Studio 2017, 2019.
This is an extension for Visual Studio that makes it easy and fast to install bower, npm, JSPM, TSD, Typings and NuGet packages.
After you finish installing the Package Installer extension, you need to reopen your Visual Studio.
Right-clicking on your project, then select "Quick Install Package"

If you want to use bower to install packages, make sure your computer has nodejs installed.