To install the third-party product Microsoft SQL Server, consult the corresponding documentation of Microsoft.
For example, a comprehensive description can be found in the Microsoft documentation:
At least the Database Engine Services have to be installed. If the database should be managed from the same server also the Management Tools have to be installed.