Install Node.js and Composer

WP Rig depends on NPM and Composer for package and dependency management. Learn how to set them up on your computer.

WP Rig uses JavaScript and PHP dependencies to work its magic on your code. These dependencies are installed and managed using two tools that need to be installed on your computer before we get started: Node.js, and Composer, the dependency manager for PHP.

If you’re on a Mac, you already have Node.js installed. If you’re on a Windows computer you need to install Node.js from the official website, nodejs.org.

If you want a detailed, step-by-step walkthrough of how to set up and use Node.js and npm, the Node package manager, check out “Learning NPM, the Node Package Manager.”

Whether you’re on Windows or Mac, you’ll need to install Composer from the official website, getcomposer.org. If you want a detailed step-by-step walkthrough of how to set up and use Composer on Windows or Mac, check out my course, “Learning Composer, the PHP Dependency Manager.

More from this course: