mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 16:25:39 +08:00
Group shell command
This commit is contained in:
@@ -27,18 +27,23 @@ Pick the installation method that fits your use case:
|
||||
|
||||
> Fun fact: `spc` itself is a static PHP binary built with StaticPHP. We use StaticPHP to build StaticPHP's own build tool.
|
||||
|
||||
```shell
|
||||
# Linux x86_64
|
||||
::: code-group
|
||||
```shell [Linux x86_64]
|
||||
curl -#fSL https://dl.static-php.dev/v3/spc-bin/nightly/spc-linux-x86_64 -o spc
|
||||
# Linux arm64
|
||||
```
|
||||
```shell [Linux arm64]
|
||||
curl -#fSL https://dl.static-php.dev/v3/spc-bin/nightly/spc-linux-aarch64 -o spc
|
||||
# macOS x86_64 (Intel)
|
||||
```
|
||||
```shell [macOS x86_64]
|
||||
curl -#fSL https://dl.static-php.dev/v3/spc-bin/nightly/spc-macos-x86_64 -o spc
|
||||
# macOS arm64 (Apple Silicon)
|
||||
```
|
||||
```shell [macOS arm64]
|
||||
curl -#fSL https://dl.static-php.dev/v3/spc-bin/nightly/spc-macos-aarch64 -o spc
|
||||
# Windows x86_64 (PowerShell)
|
||||
```
|
||||
```powershell [Windows x86_64]
|
||||
curl.exe -#fSL https://dl.static-php.dev/v3/spc-bin/nightly/spc-windows-x86_64.exe -o spc.exe
|
||||
```
|
||||
:::
|
||||
|
||||
On Linux and macOS, mark the binary as executable before running it:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user