Add powershell instructions, fixes #8883
parent
f7abfc9d7f
commit
93502eed68
|
@ -134,8 +134,16 @@ to download `composer.phar`.
|
|||
|
||||
Create a new `composer.bat` file alongside `composer.phar`:
|
||||
|
||||
Using cmd.exe:
|
||||
|
||||
```sh
|
||||
C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat
|
||||
C:\bin> echo @php "%~dp0composer.phar" %*>composer.bat
|
||||
```
|
||||
|
||||
Using PowerShell:
|
||||
|
||||
```sh
|
||||
PS C:\bin> Set-Content composer.bat '@php "%~dp0composer.phar" %*'
|
||||
```
|
||||
|
||||
Add the directory to your PATH environment variable if it isn't already.
|
||||
|
|
Loading…
Reference in New Issue