CLI Reference

diff

Compare your local components with the latest versions in the registry.

Overview

The diff command helps you stay up to date by checking if there are any changes or bug fixes available for the components you've already installed.

Usage

Terminal

$npx kachindo@latest diff

Status Codes

When you run the diff command, it will output the status of each component using the following indicators:

Up to date

Your local component matches the latest version in the registry.

Update available

Changes have been detected. Use 'update' to get the latest source.

Missing

The component was found in your config but the files are missing locally.

How it works

The CLI fetches the registry index and identifies which components you have installed. It then performs a hash comparison between your local file content and the remote registry content. This ensures that even small changes or formatting fixes are caught.

Profile