Search
 
SCRIPT & CODE EXAMPLE
 

PHP

zsh: command not found: laravel

export PATH="$HOME/.composer/vendor/bin:$PATH"
Comment

zsh: command not found: laravel

If you want it to work only once you can run this command in your terminal

$ export PATH="$HOME/.composer/vendor/bin:$PATH"

But if you want it to be stored and work whenever you open a new terminal you need to do the following steps:

1) open the ~/.zshrc file by running the following command  $ nano ~/.zshrc
2) at the bottom of that file add this export PATH="$HOME/.composer/vendor/bin:$PATH"

then to save hit (ctrl + x) then (Y) then finally hit enter(or return).
Comment

zsh: command not found: laravel

echo "PATH="$HOME/.config/composer/vendor/bin:$PATH"" >> ~/.zshrc
source ~/.zshrc
Comment

zsh: command not found: laravel

export PATH="$HOME/.config/composer/vendor/bin:$PATH"
Comment

PREVIOUS NEXT
Code Example
Php :: laravel migrate fresh and seed 
Php :: php if no imagee exists 
Php :: php artisan migrate create table 
Php :: php loop x times 
Php :: php replace return character 
Php :: composer ignore platform reqs 
Php :: content-type application/json php 
Php :: laravel run php server by ipv4 
Php :: php server referer 
Php :: brew switch php version 
Php :: php remove non numeric 
Php :: php make query string from array http_build_query 
Php :: wordpress get post thumbnail url 
Php :: php server request method 
Php :: date casting from datetime to d-m-Y laravel 
Php :: php isarray 
Php :: laravel get random number of data from database 
Php :: laravel request url 
Php :: laravel foreach loop index 
Php :: php set timezone italy 
Php :: php program to validate phone number using regular expression 
Php :: get key of last element php 
Php :: string to datetime php 
Php :: write to file laravel 
Php :: common array methods php 
Php :: carbon minus 1 day 
Php :: php throw exception 
Php :: wordpress stop redirect to https 
Php :: php get ip address 
Php :: woocommerce terms and condition fields checked by default 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =