How to change the version of forge on my linux server

I've downloaded a new modpack on my server but it requires a version in 1.19.2 like before but it need a higher patch (43.2.21 at least), currently it is 43.2.18.
Was this page helpful?