The recommended installation method will always be featured on the readme.md; however, this page is for documenting additional installation methods:
cURL + here string:
% source /dev/stdin <<< "$(curl -fsSL https://raw.github.com/wilmoore/php-version/master/php-version.sh)"
cURL (for non-OSX users or those that prefer not to use homebrew
):
% mkdir $HOME/.local
% mkdir -p $HOME/.local/php-version # or your place of choice
% cd !$
% curl -# -L https://github.com/wilmoore/php-version/tarball/master | tar -xz --strip 1
# add the following to your shell's configuration file (i.e. `.bashrc` or `.zshrc`):
source $HOME/.local/php-version/php-version.sh && php-version 5.x.x
Git/Github (for non-OSX users or those that prefer not to use homebrew
):
% mkdir $HOME/.local
% cd $HOME/.local
% git clone https://github.com/wilmoore/php-version.git
# add the following to your shell's configuration file (i.e. `.bashrc` or `.zshrc`):
source $HOME/.local/php-version/php-version.sh && php-version 5.x.x
Arch Linux:
an AUR package of the same name has been created for easy install management
php-version
package.bashrc
or .zshrc
):source /usr/lib/php-version/php-version.sh && php-version 5.x.x
(bug-report.sh
, the current changelog.md
, and the main README.md
can also be found in /usr/lib/php-version
)
php-version contributors:
# IMPORTANT: first, fork `php-version` to your GITHUB_USER
% cd $PROJECTS_ROOT # or wherever you store your projects
% git clone https://github.com/GITHUB_USER/php-version.git
% git remote add upstream https://github.com/wilmoore/php-version.git
# add the following to your shell's configuration file (i.e. `.bashrc` or `.zshrc`):
source $PROJECTS_ROOT/php-version/php-version.sh && php-version 5.x.x
# adding a feature
% cd $PROJECTS_ROOT/php-version
% git checkout master
% git pull upstream master
% git push origin master
% git checkout -b new-feature
# edit, commit, push, pull-request
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4