Yes, Americans will need a residence visa to stay in Portugal permanently. In the shorter term, there are work visa, passive income visas and golden visas that all offer the visas you will need to be in the country for the 5 years you need before you can earn permanent residence or citizenship.