Considering using msbuild

Do I have t install Visual Studio or SDK to use MSBuild ?

As it says on this page: MSBuild Tutorial: Install and create a project - MSBuild | Microsoft Learn