Basically, you start with the same clients that have been hiring you, then tell them you can assemble a team of developers to help get their project done, and all they have to do is work through you as the main point of contact.
This is easier said than done, of course. Starting with existing clients is a nice way to jump-start this kind of a business, but you'll need to find more clients eventually. There's also a whole arena of skills you'll need to develop in terms of recruiting, account management, and project management too.
This isn't for everyone. But someone with technical skills has a vast advantage in such a role over someone who doesn't, with all other skills being equal.
Just an option to consider as you think about moving out of a technical role.
There's a general focus in that book about building your personal brand in an organization so you basically have leverage to do what you want.
Beyond that, the short answer is to assume the role. Take on a PM-like presence amongst your team if you haven't already - ie. help any PMs you're currently working with on small tasks, ease their burden where you can - then have a candid discussion with your supervisor at some point about how you can see yourself in such a role.
If you want to do this as a remote contractor, then I think your options are:
1) Look for an existing dev agency that needs remote project managers.
2) Start your own dev agency.
0: https://www.amazon.com/Outliers-Story-Success-Malcolm-Gladwe...
I guess I'm mediocre in that it consistently seems to take me 8-10 hours to finish jobs that come with a 4 hour time estimate (my company is big on estimates). I'm also pretty sloppy - code reviewers routinely catch minor errors that I should have known better than to commit.
I have the experience, way too often, of using some feature that I pushed months or years ago and learning that it's, like, haunted or something. Doesn't work the way it's supposed to at all. Obvious failures that I should never have called "done".
When it comes to building a complete product, from start to finish, I mostly can't get past MVP stage (talking about personal projects in this case). And I once spent over a month trying to update the version of TinyMCE for a CMS that I was working on, and did not succeed. I literally got another job and left the company with that task unfinished. The new job pays double, and I still feel like a bit of a fraud.
And yeah, I'm writing "bog-standard PHP" as the other commenter put it. I've tried to get work in other languages to diversify my skillset, and haven't succeeded. At this point I'm starting to not care anymore - I like PHP just fine, loose typing be damned, and I'm starting to think I want to move out of technical roles rather than improve my language skills.