Install Composer on Linux and Windows in 3 Steps

By | June 3, 2020

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..!

Share and Enjoy !

0Shares
0 0

Subscribe For Latest Updates

Sign up to best of PHP Code Solutions, informed analysis and opinions on what matters to you.
Invalid email address
We promise not to spam you. You can unsubscribe at any time.

2 thoughts on “Install Composer on Linux and Windows in 3 Steps

  1. Pingback: How to run Laravel project on localhost - PHPCODER.TECH

  2. Pingback: Login with Google Account using PHP Step by Step - PHPCODER.TECH

Leave a Reply

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