# How to install Valet on Ubuntu
Follow these steps to install Valet on Ubuntu:
- `sudo apt-get install network-manager libnss3-tools jq xsel dnsmasq inotify-tools`
- `composer global require cpriego/valet-linux`
- `valet install`
Once installed, add the executable to your path
- Bash: `echo "export PATH=$PATH:$HOME/.config/composer/vendor/bin" >> ~/.bashrc`
- ZSH: `echo "export PATH=$PATH:$HOME/.config/composer/vendor/bin" >> ~/.zshrc`
Then, start Nginx.
If you need to reset the installation, then run: `composer global require cpriego/valet-linux`
## References
- https://dev.to/dhimaskirana/install-laravel-valet-on-linux-ubuntu-1gmf