How do I force the Okteto CLI to use a specific version of syncthing?

Hi!

I have noticed that Okteto is downloading and upgrading syncthing to my $HOME/.okteto path.

That’s great by how can I do to keep one version and force Okteto not to upgrade new ones?

1 Like

You can always download the version and put the binary in that path.

  • To check the version you are currently using: $HOME/.okteto/syncthing --version

With no action, Okteto will always try to have the latest version, but if you want to keep and control the version, you have two options here:

  • If you want to do it for all your team, go to the Admin view in the Okteto UI and add a variable named OKTETO_SYNCTHING_VERSION and set the value to the synching version you want your team to use.

  • If you want to do it just for your local machine, add a local environment variable named OKTETO_SYNCTHING_VERSION and set the value to the synching version you want to use.

  • A valid version string would be something like 1.27.6

1 Like