Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Last login: Wed Mar 1 11:55:11 on ttys000

mouradeghamzaoui@MacBook-Air-de-Mourade ~ % $ curl -LsS


http://symfony.com/installer > symfony.phar
$ sudo mv symfony.phar /usr/local/bin/symfony
$ chmod a+x /usr/local/bin/symfony
zsh: command not found: $
zsh: command not found: $
zsh: command not found: $
mouradeghamzaoui@MacBook-Air-de-Mourade ~ % php -r
"readfile('http://symfony.com/installer');" > symfony.phar
zsh: command not found: php
mouradeghamzaoui@MacBook-Air-de-Mourade ~ % “sudo nano /etc/hosts“
zsh: command not found: “sudo
mouradeghamzaoui@MacBook-Air-de-Mourade ~ % curl -sS
https://get.symfony.com/cli/installer | bash
Symfony CLI installer

Environment check
[*] cURL is installed
[*] Tar is installed
[*] Git is installed
[*] Your architecture (arm64) is supported

Download
Downloading https://github.com/symfony-cli/symfony-cli/releases/latest/download/
symfony-cli_darwin_all.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10.2M 100 10.2M 0 0 9198k 0 0:00:01 0:00:01 --:--:-- 17.8M
Uncompress binary...
Installing the binary into your home directory...
The binary was saved to: /Users/mouradeghamzaoui/.symfony5/bin/symfony

The Symfony CLI was installed successfully!

Use it as a local file:


/Users/mouradeghamzaoui/.symfony5/bin/symfony

Or add the following line to your shell configuration file:


export PATH="$HOME/.symfony5/bin:$PATH"

Or install it globally on your system:


mv /Users/mouradeghamzaoui/.symfony5/bin/symfony /usr/local/bin/symfony

Then start a new shell and run 'symfony'


mouradeghamzaoui@MacBook-Air-de-Mourade ~ %

You might also like