Install Symfony CLI in Ubuntu

How to install Symfony on Ubuntu using apt.

Debian/Ubuntu apt install

curl -1sLf 'https://dl.cloudsmith.io/public/symfony/stable/setup.deb.sh' | sudo -E bash
sudo apt install symfony-cli

References