Installing the command-line utility migration tool on a bastion-host

Install the utility on a third machine or a bastion host.

  1. Clone the repository and run the python3 -m pip install --editable . command.
  2. Check if the command cmlutil command is running.
  3. Install the CLI in editable mode from the main branch or from a feature or release branch.

    Any change to the source code is reflected in real time without the need for reinstalling the tool again.

    • Install the tool from the main branch by using the following command:
      python3 -m pip install git+https://github.com/cloudera/cmlutils@main
    • Install the tool from a feature or release branch by using the following command:
      python3 -m pip install git+https://github.com/cloudera/cmlutils@<branch-name>