SSAS, as a part of the SQL SERVER components, is primarily installed through the direct selection in the SQL Server Installation Center. Refer to Install SQL Server Analysis Services.
However, please note that different versions of SQL Server may have restrictions on the components, for details please refer to Analysis Services features supported by SQL Server edition.
Regards
Mikey Qiao
If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.