Skip to content

Commit 7096f27

Browse files
authored
Merge branch 'main' into buildpack-0.7-0.8
2 parents 832bf96 + ea00ad5 commit 7096f27

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

data/pack/install.yml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- name: Arch Linux
44
content: |
55
On Arch Linux, there are two packages available:
6-
6+
77
- [pack-cli](https://aur.archlinux.org/packages/pack-cli/)
88
- [pack-cli-bin](https://aur.archlinux.org/packages/pack-cli-bin/)
99
- &container
@@ -36,7 +36,7 @@
3636
default: true
3737
content: |
3838
`pack` can be installed via [Homebrew](https://brew.sh/):
39-
39+
4040
```bash
4141
brew install buildpacks/tap/pack
4242
```
@@ -59,7 +59,7 @@
5959
- &manually
6060
name: Manually
6161
content: |
62-
To manually install `pack`, visit the [releases page on GitHub](https://github.com/buildpacks/pack/releases).
62+
To manually install `pack`, visit the [releases page on GitHub](https://github.com/buildpacks/pack/releases).
6363
1. Download the `.tgz` or `.zip` file for your platform
6464
2. Extract the `pack` binary
6565
3. (Optional) Add the directory containing `pack` to `PATH`
@@ -68,6 +68,19 @@
6868
methods:
6969
- *container
7070
- *homebrew
71+
- name: Script Install
72+
content: |
73+
The following command will download the latest version of `pack` from [GitHub](https://github.com/buildpacks/pack/releases) and install it in `/usr/local/bin/`.
74+
75+
Intel:
76+
```bash
77+
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v<PACK_VERSION>/pack-v<PACK_VERSION>-macos.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
78+
```
79+
80+
Apple Silicon:
81+
```bash
82+
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v<PACK_VERSION>/pack-v<PACK_VERSION>-macos-arm64.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
83+
```
7184
- *manually
7285
- name: Windows
7386
methods:
@@ -81,8 +94,8 @@
8194
- *container
8295
- name: Scoop
8396
content: |
84-
`pack` can be installed via [Scoop](https://scoop.sh/):
85-
```
86-
scoop install pack
87-
```
97+
`pack` can be installed via [Scoop](https://scoop.sh/):
98+
```
99+
scoop install pack
100+
```
88101
- *manually

0 commit comments

Comments
 (0)