Tech jobs are coming to New York City in droves. All the big tech companies — even Amazon, which abandoned plans for a headquarters-style campus a year ago — are expanding in the city.

But many local workers could miss out because they are not receiving the training they need for well-paid careers in tech, according to a new study by the Center for an Urban Future, a nonprofit research group.

The study echoes one of the concerns of opponents of a deal that would have cleared the way for a new Amazon office park in the city — that tech wealth and good jobs would bypass current New Yorkers. And those natives would be left struggling with the downside: the higher housing prices and living costs in neighborhoods gentrified by newcomers.

Closing the opportunity gap in New York’s tech economy, the study concludes, will require more initiatives that truly prepare workers for careers that can be ladders to the middle class. Per Scholas, a nonprofit founded in 1995 and based in the South Bronx, is an example of how this can be done, according to the study.