If you plan to stay in Portugal for an extended period of time (for example, to work or study), you will need a Portugal National Visa, not a Schengen Visa.
Steps To Apply For Portugal National Visa Online
1. Download the Portugal Visa Application Form and complete it.