Answer the question
In order to leave comments, you need to log in
How to create an abbreviated path to a file in macOS Terminal?
I apologize for the wording of the question
. I installed symfony cli, but it says that it does not find the symfony command, while /Users/admin/.symfony/bin/symfony runs fine. How not to prescribe the full path to the file each time when calling from the terminal?
Answer the question
In order to leave comments, you need to log in
Make a link to this file in the folder with executable files. For example, for linux in the /usr/local/bin folder or similar on MacOS.
To be like this: /usr/local/bin/symfony -> /Users/admin/.symfony/bin/symfony
Or install symfony globally
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question