# Upgrading chefDK on the workstation

**URL:** <https://discourse.chef.io/t/upgrading-chefdk-on-the-workstation/6971>\
**Category:** Chef Infra (archive)\
**Created:** [September 11, 2015, 6:27pm UTC](https://discourse.chef.io/t/upgrading-chefdk-on-the-workstation/6971 "2015-09-11T18:27:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![okram999](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/okram999/32/1083_2.png) [@okram999](https://discourse.chef.io/u/okram999)\
**Post date:** [September 11, 2015, 6:27pm UTC](https://discourse.chef.io/t/upgrading-chefdk-on-the-workstation/6971/1 "2015-09-11T18:27:10Z")

</div>

Hey guys, i have been looking for an answer to this possibly a dumb  
question.

Whats the procedure to upgrade the chefdk? Google returns steps to install  
but not for upgrading an existing install. I would assume now, that to  
upgrade, one have to follow the installation procedure. IS this right? I am  
trying to upgrade from the 0.3.5 to 0.6.0

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [September 11, 2015, 6:38pm UTC](https://discourse.chef.io/t/upgrading-chefdk-on-the-workstation/6971/2 "2015-09-11T18:38:00Z")

</div>

Just install the new package on top of the old one

--  
Daniel DeLeo

On Friday, September 11, 2015 at 11:27 AM, niristotle okram wrote:

> Hey guys, i have been looking for an answer to this possibly a dumb question.
> 
> Whats the procedure to upgrade the chefdk? Google returns steps to install but not for upgrading an existing install. I would assume now, that to upgrade, one have to follow the installation procedure. IS this right? I am trying to upgrade from the 0.3.5 to 0.6.0

---

<div class="post-metadata">

**Author:** ![okram999](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/okram999/32/1083_2.png) [@okram999](https://discourse.chef.io/u/okram999)\
**Post date:** [September 11, 2015, 6:43pm UTC](https://discourse.chef.io/t/upgrading-chefdk-on-the-workstation/6971/3 "2015-09-11T18:43:13Z")

</div>

i just did and now i get these errors

± |master ✗| → chef -v  
Chef Development Kit Version: 0.6.0  
chef-client version: ERROR  
berks version: ERROR  
kitchen version: ERROR

Are they because of the PATH

which ruby  
/home/user/.rvm/rubies/ruby-2.1.1/bin/ruby

On Fri, Sep 11, 2015 at 11:38 AM, Daniel DeLeo [dan@kallistec.com](mailto:dan@kallistec.com) wrote:

> Just install the new package on top of the old one
> 
> --  
> Daniel DeLeo
> 
> On Friday, September 11, 2015 at 11:27 AM, niristotle okram wrote:
> 
> > Hey guys, i have been looking for an answer to this possibly a dumb  
> > question.
> > 
> > Whats the procedure to upgrade the chefdk? Google returns steps to  
> > install but not for upgrading an existing install. I would assume now, that  
> > to upgrade, one have to follow the installation procedure. IS this right? I  
> > am trying to upgrade from the 0.3.5 to 0.6.0

--  
Regards  
nirish okram

---

<div class="post-metadata">

**Author:** ![Bryant\_Lippert](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@Bryant\_Lippert](https://discourse.chef.io/u/Bryant_Lippert)\
**Post date:** [September 11, 2015, 6:51pm UTC](https://discourse.chef.io/t/upgrading-chefdk-on-the-workstation/6971/4 "2015-09-11T18:51:38Z")

</div>

Hi Niristotle,

Chef-dk is in the Ruby Gem repo. Since you're already using RVM, I would  
suggest just creating a new chef-dk gemset. `rvm gemset use chef-dk --create` then, `gem install chef-dk` RVM makes handling versions of  
chef-dk easier, imho.

Best,  
Bryant

On Fri, Sep 11, 2015 at 1:43 PM, niristotle okram [nirish.okram@gmail.com](mailto:nirish.okram@gmail.com)  
wrote:

> i just did and now i get these errors
> 
> ± |master ✗| → chef -v  
> Chef Development Kit Version: 0.6.0  
> chef-client version: ERROR  
> berks version: ERROR  
> kitchen version: ERROR
> 
> Are they because of the PATH
> 
> which ruby  
> /home/user/.rvm/rubies/ruby-2.1.1/bin/ruby
> 
> On Fri, Sep 11, 2015 at 11:38 AM, Daniel DeLeo [dan@kallistec.com](mailto:dan@kallistec.com) wrote:
> 
> > Just install the new package on top of the old one
> > 
> > --  
> > Daniel DeLeo
> > 
> > On Friday, September 11, 2015 at 11:27 AM, niristotle okram wrote:
> > 
> > > Hey guys, i have been looking for an answer to this possibly a dumb  
> > > question.
> > > 
> > > Whats the procedure to upgrade the chefdk? Google returns steps to  
> > > install but not for upgrading an existing install. I would assume now, that  
> > > to upgrade, one have to follow the installation procedure. IS this right? I  
> > > am trying to upgrade from the 0.3.5 to 0.6.0
> 
> --  
> Regards  
> nirish okram

--  
_Bryant Lippert_

Raindance

[bryant@raindanceit.com](mailto:bryant@raindanceit.com)

M 302-465-4326

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [September 11, 2015, 6:52pm UTC](https://discourse.chef.io/t/upgrading-chefdk-on-the-workstation/6971/5 "2015-09-11T18:52:02Z")

</div>

You have to set your paths by running `chef shell-init` (with the correct eval for your particular shell) for things to work correctly. If you have installed chef-client, berks, kitchen, etc. via rubygems and you have rvm’s bin dir first in your path, your shell will pick up the rvm versions. I think there’s a way now to switch rvm to chefdk, but I don’t use rvm so I don’t know what that is.

--  
Daniel DeLeo

On Friday, September 11, 2015 at 11:43 AM, niristotle okram wrote:

> i just did and now i get these errors
> 
> ± |master ✗| → chef -v  
> Chef Development Kit Version: 0.6.0  
> chef-client version: ERROR  
> berks version: ERROR  
> kitchen version: ERROR
> 
> Are they because of the PATH
> 
> which ruby  
> /home/user/.rvm/rubies/ruby-2.1.1/bin/ruby
> 
> On Fri, Sep 11, 2015 at 11:38 AM, Daniel DeLeo \<[dan@kallistec.com](mailto:dan@kallistec.com) ([mailto:dan@kallistec.com](mailto:dan@kallistec.com))\> wrote:
> 
> > Just install the new package on top of the old one
> > 
> > --  
> > Daniel DeLeo
> > 
> > On Friday, September 11, 2015 at 11:27 AM, niristotle okram wrote:
> > 
> > > Hey guys, i have been looking for an answer to this possibly a dumb question.
> > > 
> > > Whats the procedure to upgrade the chefdk? Google returns steps to install but not for upgrading an existing install. I would assume now, that to upgrade, one have to follow the installation procedure. IS this right? I am trying to upgrade from the 0.3.5 to 0.6.0
> 
> --  
> Regards  
> nirish okram
