Edit Shell Path

If you need to add /usr/local/bin to your OS X path for custom applications you've built and installed:

Check what shell you are using:

echo $SHELL

If it's /bin/bash, create or modify ~/.profile, adding the new path:

cat << EOF >> ~/.profile
PATH=/usr/local/bin:\$PATH; export PATH
EOF

If it's /bin/tcsh:

cat << EOF >> ~/.cshrc
set path = ( /usr/local/bin \$path )
EOF

Open a new shell window and check the paths:

echo $PATH

Technology:

Recent Updates

  • 11 months 2 weeks ago
    1.27.2 update
  • 11 months 3 weeks ago
    Drupal 10/11 config
  • 11 months 3 weeks ago
  • PHP
    11 months 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 11 months 3 weeks ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.