Installations - Raruto/wordpress-git GitHub Wiki
- Make sure you have php (ie through MAMP) installed and in your PATH.
- Download wp-cli.phar:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
- Make the file executable:
chmod +x wp-cli.phar
- Add wp to your PATH:
sudo mv wp-cli.phar /usr/local/bin/wp
- Make sure you have php (ie through MAMP) installed and in your PATH.
- Download wp-cli.phar and save it to a folder, eg c:\wp-cli
- Create a file named wp.bat in c:\wp-cli with the following contents:
@ECHO OFF php "c:/wp-cli/wp-cli.phar" %*
- Add c:\wp-cli to your PATH (eg
setx path "%path%;c:\wp-cli"
)
see also: wp-cli docs
- Make sure you have php (ie through MAMP) installed and in your PATH.
- Download and run the installer:
curl -sS https://getcomposer.org/installer | php
- Make the file executable:
chmod +x composer.phar
- Add composer to your PATH:
sudo mv composer.phar /usr/local/bin/composer
- Make sure you have php (ie through MAMP) installed and in your PATH.
- Download and run the installer: Composer-Setup.exe
- (Optional) "uninstall" the installer (anyway composer will remain..)
- This entry
C:\ProgramData\ComposerSetup\bin
was already added to your PATH.
see also: composer docs
Depending on operating system you may use the:
see also: git docs
Useful resources:
- downloads: Git, GitHub Desktop, Atom.io, MAMP, wpackagist
- docs: Git, GitHub Desktop, Atom.io, MAMP, MySQL, Apache, PHP, WP-CLI, Composer, wpackagist, bash, Windows Subsystem for Linux
- tools: WP Gear