Refactor cli init
Add post_installer_path
Add more env vars