# How to install an older prerelease version?

**URL:** <https://discourse.chef.io/t/how-to-install-an-older-prerelease-version/12033>\
**Category:** Chef Infra (archive)\
**Created:** [November 29, 2017, 11:16am UTC](https://discourse.chef.io/t/how-to-install-an-older-prerelease-version/12033 "2017-11-29T11:16:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdnsfx](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@cdnsfx](https://discourse.chef.io/u/cdnsfx)\
**Post date:** [November 29, 2017, 11:16am UTC](https://discourse.chef.io/t/how-to-install-an-older-prerelease-version/12033/1 "2017-11-29T11:16:51Z")

</div>

I didn't receive an answer yet for an issue in GitHub which I created on Oct 20, 2017 so I'll ask here

Yesterday (Oct 19), 13.5.22 was the latest prerelease of chef-client.

I installed it using the following parameters during knife bootstrap

--bootstrap-version 13.5.22 --prerelease

However. today (Oct 20) when I wanted to bootstrap 13.5.22 using the same parameters, chef installed the chef-client 13.5.25.

Removing the --prerelease caused a download failure, it could not find v. 13.5.22 that way.

How can I still install 13.5.22 during bootstrap?

* * *

The original GitHub issue is this one:

> <https://github.com/chef/chef/issues/6512>
>
> Yesterday, 13.5.22 was the latest prerelease of chef-client.
> I installed it using the following parameters during knife bootstrap
> \--bootstrap-version 13.5.22 --prerelease
> However. today when...

---

<div class="post-metadata">

**Author:** ![thommay](https://avatars.discourse-cdn.com/v4/letter/t/f08c70/32.png) [@thommay](https://discourse.chef.io/u/thommay)\
**Post date:** [November 29, 2017, 12:43pm UTC](https://discourse.chef.io/t/how-to-install-an-older-prerelease-version/12033/2 "2017-11-29T12:43:36Z")

</div>

Hi,

Knife bootstrap unfortunately needs a fairly major overhaul; some of that work is captured in [https://github.com/chef/chef/issues/3920](https://github.com/chef/chef/issues/3920) , and the move to `mixlib-install` would fix your problem.

I’ve not tried this but, try passing `--bootstrap-version "13.5.22 -c current"` to the bootstrap script. Otherwise, you can take a copy of [https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/templates/chef-full.erb](https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/templates/chef-full.erb) and add `-c current` to [https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/templates/chef-full.erb#L174](https://github.com/chef/chef/blob/master/lib/chef/knife/bootstrap/templates/chef-full.erb#L174) . I know neither of these are ideal but they should get you going.  
Cheers,  
-Thom

---

<div class="post-metadata">

**Author:** ![cdnsfx](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@cdnsfx](https://discourse.chef.io/u/cdnsfx)\
**Post date:** [December 1, 2017, 8:58am UTC](https://discourse.chef.io/t/how-to-install-an-older-prerelease-version/12033/3 "2017-12-01T08:58:55Z")

</div>

Ok, thank you very much. I guess I’ll just wait for the issues to be fixed
