Is there a proper way to install local plugin's dependencies?

this was super useful for me. Any chance this can be added to docs for plugin local development?