Thursday, August 28, 2025
HomeData Modelling & AIInstall Chef Development Kit on Arch Linux|Manjaro

Install Chef Development Kit on Arch Linux|Manjaro

.tdi_3.td-a-rec{text-align:center}.tdi_3 .td-element-style{z-index:-1}.tdi_3.td-a-rec-img{text-align:left}.tdi_3.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_3.td-a-rec-img{text-align:center}}

The Chef development kit contains all the tools you need to develop and test your infrastructure, built by the awesome Chef community. Chef is an open source configuration management tool written in Ruby and Erlang. The Chef DK workstation is the location where users interact with Chef.

If you don’t have Chef Server installed, check: Install Chef Automation Server on Ubuntu

On the workstation users author and test cookbooks using tools such as Test Kitchen and interact with the Chef server using the knife and chef command line tools.

.tdi_2.td-a-rec{text-align:center}.tdi_2 .td-element-style{z-index:-1}.tdi_2.td-a-rec-img{text-align:left}.tdi_2.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_2.td-a-rec-img{text-align:center}}
chef development kit

To install Chef Development Kit on Arch Linux|Manjaro, you need an AUR helper, I recommend you use yay – yay – Best AUR Helper for Arch Linux / Manjaro

Once yay is installed. download and install  Chef Development Kit on your Arch Linux|Manjaro machine.

yay -S chef-dk --noconfirm

Wait for the installation to finish.  Check the version installed using:

$ yay -Qi chef-dk
Name            : chef-dk
Version         : 4.13.3-1
Description     : The Chef development kit contains all the tools you need to develop and test your infrastructure, built by the awesome Chef community.
Architecture    : x86_64
URL             : https://downloads.chef.io/chef-dk/
Licenses        : Apache
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : chef  chef-solo  chef-client  chef-workstation
Replaces        : None
Installed Size  : 361.70 MiB
Packager        : Unknown Packager
Build Date      : Mon 20 Dec 2021 10:19:23 AM UTC
Install Date    : Mon 20 Dec 2021 10:23:09 AM UTC
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

From the output, you can confirm the installed version. Downloads page lists current releases of Chef DK.

To use the Chef development kit version of Ruby as the default Ruby, you’ll need to edit your $PATH and GEM environment variables to include paths to the Chef development kit.

For Bash use:

echo 'eval "$(chef shell-init bash)"' >> ~/.bash_profile

bash and ~/.bash_profile represent name of shell and its configurat

If you’re using zsh shell, then run

echo 'eval "$(chef shell-init zsh)"' >> ~/.zshrc

Source your rc and check the ruby location.

## Bash ##
source ~/.bash_profile

## Zsh ##
source ~/.zshrc

Installation of Chef Development Kit will provide the following command line tools:

Click on the item link to learn more about what it does, and how it works. More ChefDK setup guides are available on Chef Documentation page.

.tdi_4.td-a-rec{text-align:center}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}
RELATED ARTICLES

Most Popular

Dominic
32236 POSTS0 COMMENTS
Milvus
80 POSTS0 COMMENTS
Nango Kala
6609 POSTS0 COMMENTS
Nicole Veronica
11779 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11828 POSTS0 COMMENTS
Shaida Kate Naidoo
6719 POSTS0 COMMENTS
Ted Musemwa
7002 POSTS0 COMMENTS
Thapelo Manthata
6678 POSTS0 COMMENTS
Umr Jansen
6690 POSTS0 COMMENTS