Installing Command Line Tool for Red Hat OpenShift PaaS on OSX requires few steps on OSX latest version. Here is a short guide for the fully new users. For simple installation, like that of WordPress, one can easily follow the guide using the Graphical User Interface to install WordPress on Red Hat OpenShift. This is for a bit advanced but new users who needs to upload own application or want revision or want to use the OpenShift Client tools known as rhc in some way. The guide shows only installing the tool. It does not show how to create or manage anything on OpenShift.
Installing Command Line Tool for Red Hat OpenShift PaaS : Prerequisites
Installing Command Line Tool for Red Hat OpenShift PaaS on OSX has very little requirements like we pointed in our guide on Installing AppFog PaaS Command Line Tool on OS X 10.8.x. Definitely you can use OSX ‘s default Terminal instead of iTerm2. You need to have Ruby and RubyGems installed with administrative privilege. We used homebrew to install Ruby, that part has been shown before along with setup of iTerm2.
There is absolutely no meaning of asking why we have used iTerm2 and oh-my-zsh / ZSH instead of Bash and Terminal for Installing Command Line Tool for Red Hat OpenShift. You can use whatever software you want. The commands will remain the same.
---
Installing Command Line Tool for Red Hat OpenShift PaaS on OSX
The first two commands will show whether Ruby and Git are installed and/or requires to be updated to the current version :
1 | which ruby |
1 | git --version |
It is RubyGems and needs sudo to get installed :
1 | sudo gem install rhc |
After it gets installed, simply run :
1 | rhc setup |
Installing Command Line Tool for Red Hat OpenShift PaaS : Video
And a very short video guide for you to assist.
We have not shown how to manage multiple SSH keys, we have just accepted with yes command to save the key with defaults.
Tagged With install zsh on openshift , redhat openshift commandline tools