Search code examples
installationkedro

Accessing Kedro CLI from an existing project


I have an existing project, cloned with git clone.

After I pip install kedro I can run kedro info fine but I dont seem to have access to the projects CLI for example if I try to runkedro install I get the following error:

Usage: kedro [OPTIONS] COMMAND [ARGS]...
Try 'kedro -h' for help.

Error: No such command 'install'.

Any clues on what to do for existing projects are much appreciated.

Not sure if this matters but I am working inside a conda environment which is inside a docker container.


Solution

  • Project CLIs are available if you run kedro at your Kedro project directory.

    1. Run kedro new to create a Kedro project

    2. cd <your-kedro-project>

    3. kedro at the project directory

    And you should see the project level CLIs

    enter image description here

    Also for your existing project, check if you have kedro_cli.py at your project directory.