--- page_title: "Shell Scripts - Provisioning" sidebar_current: "provisioning-shell" --- # Shell Provisioner **Provisioner name: `"shell"`** The shell provisioner allows you to upload and execute a script as the root user within the guest machine. Shell provisioning is ideal for users new to Vagrant who want to get up and running quickly and provides a strong alternative for users who aren't comfortable with a full configuration management system such as Chef or Puppet. ## Inline Scripts Perhaps the easiest way to get started is with an inline script. An inline script is a script that is given to Vagrant directly within the Vagrantfile. An example is best: ```ruby Vagrant.configure("2") do |config| config.vm.provision "shell", inline: "echo Hello, World" end ``` This causes `echo Hello, World` to be run within the guest machine when provisioners are run. Combined with a little bit more Ruby, this makes it very easy to embed your shell scripts directly within your Vagrantfile. Another example below: ```ruby $script = <