Updates

If you have kddp installed and a new version comes out you don’t have to reinstall it completely. The kddp update command does this for you.

Standard case

If you just run kddp update kddp will check if there is a newer version. If this is the case, you will be asked if you want to install it. If you answer yes (‘j’), the update will begin.

kddp will then:

If everything worked without errors, you should restart the terminal and be able to see the latest version with kddp version.

Options

kddp update takes several optional command line options:

Versions

A DDP version consists of 4 parts:

<Major>.<Minor>.<Patch>-<Addition>

Example: 1.2.3-alpha

How it works

kddp update simply looks in the Github-Releases from the compiler repo to see if there is a release whose tag is newer than the currently installed version . If this is the case, it downloads the corresponding archive file and updates itself with it.

If the --pre_release option is specified, releases marked as “pre-release” will also be included in the search.