Refactor the CLI installer
Fix a path