import shutil


def check_commands(commands: list) -> list:
    """
    Checks if all commands in the list exist in the system / environment
    returns a list of all missing commands
    """
    missing = []
    for cmd in commands:
        if shutil.which(cmd) is None:
            missing.append(cmd)
    return missing