$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Drush CLI for Drupal 7 on Mac OS X 10.10 Yosemite Easy Guide

May 16, 2015 | By the+gnu+linux+evangelist.

Install Drush 7 for Drupal 7 on macOS

Hi! The Tutorial shows you Step-by-Step How to Install Drush Command Line Interface for Drupal 7 on macOS 10.10 Yosemite Desktop.

Drush is a command line shell and Unix scripting interface for Drupal. If you are unfamiliar with shell scripting, reviewing the documentation for your shell (e.g. man bash) or reading an online tutorial (e.g. search for “bash tutorial”) will help you get the most out of Drush.

Install Drush for Drupal 7 on macOS - Featured
  1. Open a Terminal Shell Emulator
    Applications > Utilities > Terminal
    (Press “Enter” to Execute Commands)

    Install Drush for Drupal 7 on macOS - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Install PHP5 Composer for macOS

    Installing Composer on Mac
  3. Installing Drush CLi for Drupal8 on macOS.

    composer global require drush/drush:dev-master
  4. Insert Drush into User Path.

    echo "export PATH=$PATH:$HOME/.composer/vendor/bin" > $HOME/.bashrc
    source $HOME/.bashrc
  5. Testing Drush Installation.

    which drush
  6. Getting Started with Drush 7 CLI Commands

    Drush 7 Commands Quick Start