
- #Mac terminal bash sudo command not found for mac os
- #Mac terminal bash sudo command not found mac os x
- #Mac terminal bash sudo command not found install
Which then created a project for me called "new" ok getting their.


#Mac terminal bash sudo command not found install
Ok great that then ran the install off ruby ok so after the install was complete i can the run this command. I had to first run this command in the terminal.
#Mac terminal bash sudo command not found mac os x
I am running an imac with mac os x version 10.6.6 I managed to final get a install up and running what a pain. Usage: sudo -e [-uīen-Easts-iMac:~ Ben$ sudo apt-get install ruby1.9.1-fullīen-Easts-iMac:~ Ben$ sudo apt-get install ruby-fullīen-Easts-iMac:~ Ben$ sudo find / -name "apt-get" -printĬan some please help me or give me an option to try to debug. I am trying to install ruby on the mac using this tutorial.īut i keep getting the error sudo: apt-get: command not found Ben-Easts-iMac:~ Ben$ sudo You should now be able to run the php command from the terminal.I am really struggling to get my head around terminal i keep getting commands not found what am i doing wrong? Save the file and run the source command to reload your ~/.bash_profile file and update your PATH environment variable: source ~/.bash_profile To do this, open your ~/.bash_profile file in a text editor and add the following line to the end of the file: export PATH=$PATH:/usr/local/bin Once Homebrew is installed, you can use the following commands to install PHP: brew updateĪfter installing PHP, you must add it to your PATH environment variable to run the php command from the terminal. First, you will need to install Homebrew by following the instructions on the Homebrew website. To install PHP on a Mac, you can use the built-in package manager called Homebrew. However, the overall process should be similar. If you are using a Mac, installing and configuring PHP on your system may be slightly different from the steps described above.
#Mac terminal bash sudo command not found for mac os
♫ash: php: command not found for Mac os users

If you still see the error message, you may need to log out of your system and log back in for the changes to take effect.

If PHP is not installed on your system, you can install it by following the instructions on the PHP website or using your system's package manager. PHP is not installed on your system if you don't see any output or an error message. If you see a message with the PHP version, it means that PHP is installed on your system but is not added to your PATH environment variable. To fix this error, you can try the following steps:Ĭheck if PHP is installed on your system by running the php -version command. If you see the error "Bash: php: command not found" when trying to run the php command on your system, it means that the PHP command line interface (CLI) is not installed on your system or is not added to your system's PATH environment variable. Bash: php: command not found for Mac os users.
