Wanting to learn Swedish

Hello, I’m wanting to learn Swedish as I am potentially moving to Sweden in the next 3-5 years. I am also working towards a degree in electrical engineering so I think I have a high skilled occupation for moving there and I want to also work towards going there for graduate school.

Unfortunately, Swedish is not a popular language to learn, so my uni doesn’t offer courses in it, but I do plan to study abroad there eventually through my university so I want to study the language on my own.

Any advice and how much should I know if I plan to move there one day?

Thank you!