Implement command `hex opt install`