Answers.Body: <p><a href="http://www.linfo.org/path_env_var.html" rel="nofollow noreferrer">http://www.linfo.org/path_env_var.html</a>. If that doesn't help then search the internet for more explanations about what the unix PATH variable is, e.g. <a href="https://www.google.com/search?q=what+is+the+PATH+in+unix" rel="nofollow noreferrer">https://www.google.com/search?q=what+is+the+PATH+in+unix</a></p>
  <p>But I'd also consider just <a href="https://download.civicrm.org/cv/cv.phar" rel="nofollow noreferrer">downloading cv</a> and then putting it somewhere that's already in your PATH, possibly /usr/local/bin.</p>
  <p>You can also just specify the full path, e.g. /path/to/your/site/vendor/civicrm/cv/bin/cv (or whereever it ended up getting installed).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-23T20:49:40.367Z
Answers.Text: Tnx Demerit, the files are where they are supposed to be. (in cgi-bin and the vendor folder)
Answers.UserDisplayName: Stefaan H
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-23T21:00:46.003Z
Answers.Text: Ok, but your PATH probably doesn't contain those folders, so you either need to (a) update your PATH, or (b) download/move/copy the cv executable to somewhere in your path (like /usr/local/bin), or (c) give the full path when running cv.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-05T19:52:14.633Z
Answers.Text: I have two environments: the live website and a local Xampp for testing? Neither have the folders you  specify :(
Answers.UserDisplayName: Stefaan H
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-12-05T23:11:20.253Z
Answers.Text: Those were examples. Where is your cv? Use that for either (a) or (c). What does `echo $PATH` show? Use something in there for (b).
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-21T06:15:59.850Z
Answers.LastActivityDate: 2022-11-21T06:15:59.850Z
Answers.UserDisplayName: Demerit
Body: <p>Dears,</p>
  <p>I installed CV using composer require civicrm/cv but when I run a command SSH says 'cv: command not found'.</p>
  <p>What did I forget ?</p>
  <p>Stefaan</p>
  
Tags: <cv>
Title: Composer install civicrm/cv
ThreadText: # Composer install civicrm/cv
  
  (Asked by: username_0 on 2022-11-20)
  
  Dears,
  
  I installed CV using composer require civicrm/cv but when I run a command SSH says 'cv: command not found'.
  
  What did I forget ?
  
  username_0
  
  **Tags:** cv
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-11-21. Score: 0
  
  <http://www.linfo.org/path_env_var.html>. If that doesn't help then search the internet for more explanations about what the unix PATH variable is, e.g. <https://www.google.com/search?q=what+is+the+PATH+in+unix>
  
  But I'd also consider just [downloading cv](https://download.civicrm.org/cv/cv.phar) and then putting it somewhere that's already in your PATH, possibly /usr/local/bin.
  
  You can also just specify the full path, e.g. /path/to/your/site/vendor/civicrm/cv/bin/cv (or whereever it ended up getting installed).
  
  > **Comments:**
  > **username_0**: Tnx username_1, the files are where they are supposed to be. (in cgi-bin and the vendor folder)  
  > **username_1**: Ok, but your PATH probably doesn't contain those folders, so you either need to (a) update your PATH, or (b) download/move/copy the cv executable to somewhere in your path (like /usr/local/bin), or (c) give the full path when running cv.  
  > **username_0**: I have two environments: the live website and a local Xampp for testing? Neither have the folders you  specify :(  
  > **username_1**: Those were examples. Where is your cv? Use that for either (a) or (c). What does `echo $PATH` show? Use something in there for (b).  
  
  ---
  
  