Custom install command

I need to run a custom install command when installing packages for some reasons. Is there a way I can achieve this ?
Was this page helpful?