I want to build projects from the command line. Is it possible to deploy a C# compiler without installing Visual Studio?
Yes, but you need to download and install .NET Framework SDK.
Here's a link that can help you.