Usar el instalador de Laravel
Cómo usar el instalador de Laravel
Usando el instalador de Laravel
composer global require laravel/installer
(command not found)
https://stackoverflow.com/questions/61395786/i-get-laravel-command-not-found-on-ubuntu-20-04
A) Make sure you have the latest Laravel installer:
composer global require laravel/installer
B) Add composer bin folder to your $PATH:
Edit your .bashrc file:
nano $HOME/.bashrc
Add the following line:
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
C) Use the source command to force Ubuntu to reload your .bashrc file:
source $HOME/.bashrc
D) Try to output Laravel installer’s version:
laravel -V
Deja una respuesta
Lo siento, debes estar conectado para publicar un comentario.