How to install only selected modules (e.g. Accounting, Buying, Selling) in ERPNext?

I dont think thats possible…
However you could hide the unnecessary modules for all users -

1 Like