How To, PHP Beginners

Install Composer on Linux and Windows in 3 Steps

Here the complete explanation of Install Composer on Linux and Windows. Introduction Composer is the tool for managing the dependencies for PHP...

Written by Bikash · 49 sec read >
Install Composer on Linux and Windows in 3 Steps

Here the complete explanation of Install Composer on Linux and Windows.

Introduction

Composer is the tool for managing the dependencies for PHP frameworks. It allows downloading libraries that are required for your project and also allows you to update and install libraries for your project.

Install Composer on Linux and Windows in 3 Steps

3 Steps to Install Composer on Linux

Note:
For this tutorial you need:

  1. Ubuntu 14.04
  2. Access the system with SUDO permission

Here is 3 Steps to Install Composer on Linux,

  1. Update the package manager using below command.

2. To install composer and php5-cli we need curl

3. Composer install is very simple after getting all dependency for linux. Run below command.

For checking composer is successfully install or not we run below command,

3 Steps to Install Composer on Windows

For windows, composer installation we have to download .exe file composer file from a given source,

https://getcomposer.org/download/

composer install
composer install

After download install this. Installation – Windows”. Next, click the “Composer-Setup.exe” link to download the installer.

After successfully installation, open command prompt and run this command,

You can see below screen,

composer install windows

Heree is the all about Install Composer on Linux and Windows. If you facing any issueplease let me know.

Also Check:

Happy Coding..!

Was this article helpful?
YesNo
Written by Bikash
My name is Bikash Kr. Panda. I own and operate PHPCODER.TECH. I am a web Programmer by profession and working on more than 50 projects to date. Currently I am working on the web-based project and all the CMS and frameworks which are based on PHP. Profile

4 Replies to “Install Composer on Linux and Windows in 3 Steps”

Leave a Reply

Your email address will not be published. Required fields are marked *