Languages > Other Languages

Here you have the possibility to set up shortcuts for the command line for the corresponding programming languages and tools.

  • Python [VERSION]
    Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. MAMP PRO installs Python in your /Applications/MAMP/Library/bin/python directory. MAMP PRO will not make any changes to the Python build that is pre installed on your Mac. The Apple-provided build of Python is installed in /usr/bin/python.

    Check this option to make the current Python version available on the command line. MAMP PRO uses an alias to provide this functionality. When this option is checked the following is added to your ~/.profile file. If a “.zprofile” file exists, the “.profile” file is included in it.

    alias python='/Applications/MAMP/Library/bin/python'
    
  • Ruby [VERSION], rails, gem, erb, irb, rake & ri
    Ruby is a dynamic, reflective, object-oriented, general-purpose programming language.

    Check this option to make the current Ruby version available on the command line. MAMP PRO uses aliases to provide this functionality. When this option is checked the following is added to your ~/.profile file. If a “.zprofile” file exists, the “.profile” file is included in it.

    alias erb='/Applications/MAMP/Library/bin/erb'
    alias gem='/Applications/MAMP/Library/bin/gem'
    alias irb='/Applications/MAMP/Library/bin/irb'
    alias rake='/Applications/MAMP/Library/bin/rake'
    alias rdoc='/Applications/MAMP/Library/bin/rdoc'
    alias ri='/Applications/MAMP/Library/bin/ri'
    alias ruby='/Applications/MAMP/Library/bin/ruby'
    alias rails='/Applications/MAMP/Library/bin/rails'
    
  • Perl [VERSION] & cpan
    Perl is a high-level, general-purpose, interpreted, dynamic programming language. A version 5 of Perl is included with MAMP PRO.

    Check this option to make the current Perl version available on the command line. MAMP PRO uses aliases to provide this functionality. When this option is checked the following is added to your ~/.profile file. If a “.zprofile” file exists, the “.profile” file is included in it.

    alias perl='/Applications/MAMP/Library/bin/perl'
    alias cpan='/Applications/MAMP/Library/bin/cpan'