How to update the FDK to latest version

When running an FDK command, if a new FDK version is available, a message will be displayed at the command line prompt asking whether you would like to install it. To install the latest FDK version, type Yes.

You can also update the FDK version by using the:

  1. FDK version command.
  2. NPM install command.

FDK version command

To check the version of the currently installed FDK and update the same, run the following command:

fdk version

The installed FDK version is displayed along with the latest version and the instructions to update the same.

NPM install command

To install a particular FDK version, run the following command:

npm install https://dl.freshdev.io/cli/fdk-<major.minor.patch>.tgz -g

Replace <major.minor.patch> with the actual FDK version, which would look like this: 6.2.3

To view the released FDK versions, go to the Getting Started -> What’s New section of the respective product’s SDK documentation.

1 Like