upvote
The options are limited: an H-1B for employment (which involves an annual lottery), an F-1 for schooling, or a J-1 for internship/training (which requires a "host" company/employer).
reply
OP didn't state their exact country, but E-2 visa may be applicable. It's not just for investors/business starters. Companies that are privately owned by people from E-2 countries can transfer/hire citizens from other E-2 countries. Probably the most realistic option for a junior/mid-level developer IMO. See if your country is an E-2 country and apply to companies that qualify. E-2 is a non-immigrant visa so moving onto green card is more difficult but not impossible.

There's also the L1B Company transfer, if you work for a company with offices in the US and they would be able to transfer you after a year. Bit of a gamble to find a company that would be willing to do this though, and you gotta work for probably years to find out.

H-1B, if you're not already in the US has a 100k fee attached to it. Though AFAIK that was a proclamation that expires at some point, but probably won't. So it's really not an option for 99% of people.

I'm not a lawyer, so definitely verify what i say, but i'm pretty sure these are also valid options.

reply
I'm sorry, Serbia. According to [0], it seems like E-2 would be applicable, too.

Thank you.

[0]: https://www.usimmigrationadvisor.com/active-e-2-treaty-count...

reply
Thanks! Very good points. The E-2 is also a great option for founders (with their own funding or with funding from citizens/VCs from their own country).
reply
Another idea: Get a master's degree in the US. Expensive, but will give you a very good chance to get a job offer in US. PhD is even better, but will take 4-5 years.

Also: Try the green card lottery. You can Google to find info.

reply