Skip to content

Requirements

Ubuntu

Requirement Description
Ubuntu version 20.04+
OS packages sudo apt-get install curl libnss3-tools jq xsel openssl ca-certificates
PHP version 8.2+
PHP extensions php*-cli php*-curl php*-mbstring php*-xml php*-zip php*-posix

Replace the star * with your php version.

Ubuntu 20.04

In order to use the valet secure command in Ubuntu 20.04 you need to add the nginx PPA because the version in the Trusty repos does not support http2.

To add the nginx ppa:

sudo add-apt-repository -y ppa:nginx/stable
sudo apt-get update

Fedora

Requirement Description
Fedora version 39.00+
OS packages dnf install curl nss-tools jq xsel openssl ca-certificates
PHP version 8.2+
PHP extensions dnf install php-{cli,curl,process,mbstring,xml,zip,posix}

Replace the star * with your php version.

Regarding SELinux

Fedora users are expected to have knowledge of SELinux and how to configure or disable it while Valet makes changes to the system files, otherwise you will receive errors about changes that could not be made.

The easiest way is to set SELinux in Permissive mode.

How to set SELinux in Permissive Mode

Temporarily (until reboot): sudo setenforce 0

Permanent:

  • Open /etc/selinux/config
  • Change SELINUX=enforcing to SELINUX=permissive
  • Reboot

ArchLinux

Requirement Description
OS packages pacman -S nss jq xsel networkmanager ca-certificates
PHP version 8.2+
PHP extensions pacman -S php-cli php-curl php-mbstring php-xml php-zip php-posix

Regarding sudo and root user

Valet makes automatic use of sudo to perform some of its tasks. This implies that for Valet to perform correctly your user needs to be configured as a sudo user.

Please do not, under any circumstance, install valet with root or the sudo command. Kittens could die.