Is there a way to update atlas function using the CLI?

Hi Scoz_Auro,

Please view my reply to your other posting here, as it may clarify concepts relevant to this answer.

While it’s possible to adjust the dependency version in the Dependencies section of the Functions in Atlas UI, you can also opt to make the change locally and push back to Atlas via the CLI. You will need to edit the dependency version within the package.json of the functions directory. Once you’ve done this, run npm uninstall <your_package_name>, followed by npm install <your_package_name> in the functions directory to get the new version in your directory.

To push the new version to Atlas, make sure to use the --include-package-json in your push.

1 Like