Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Installation Composer on OSX #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
29 changes: 27 additions & 2 deletions composer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,38 @@
- [Mac](#mac)
- [Linux](#linux)

## Linux

## Mac

Siapkan Terminal dan koneksi internet.
Akses direktori tmp pada terminal dengan perintah
```
cd /tmp
```

Kemudian unduh berkas composer.phar dengan perintah berikut :
```
curl -sS https://getcomposer.org/installer | php
```

Setelah itu pindahkan ke direktori /usr/local/bin agar dapat diakses secara global menggunakan perintah
```
mv composer.phar /usr/local/bin/composer
```

Dan composer dapat diakses secara global

## Linux

Untuk proses installasi composer di Linux sama seperti Mac karena memiliki base Unix OS

## Windows

Download installernya di [Composer for Windows](https://getcomposer.org/Composer-Setup.exe).

Instalasi akan langsung melakukan setup pada PATH Environtment dan sudah dapat menggunakan command `composer` dari folder manapun.

<br>
<br>

### [Kembali ke awal](README.md)
### [Kembali ke awal](README.md)