|
|
@@ -19,6 +19,21 @@ chmod +x ./porter
|
|
|
sudo mv ./porter /usr/local/bin/porter
|
|
|
```
|
|
|
|
|
|
+To download a specific version of the CLI:
|
|
|
+
|
|
|
+```sh
|
|
|
+{
|
|
|
+# NOTE: replace this line with the version
|
|
|
+version=v0.6.1
|
|
|
+name=porter-$version.zip
|
|
|
+curl -L https://github.com/porter-dev/porter/releases/download/${version}/porter_${version}_Darwin_x86_64.zip --output $name
|
|
|
+unzip -a $name
|
|
|
+rm $name
|
|
|
+chmod +x ./porter
|
|
|
+sudo mv ./porter /usr/local/bin/porter
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
## Linux
|
|
|
|
|
|
Run the following command to grab the latest binary:
|
|
|
@@ -40,6 +55,22 @@ chmod +x ./porter
|
|
|
sudo mv ./porter /usr/local/bin/porter
|
|
|
```
|
|
|
|
|
|
+
|
|
|
+To download a specific version of the CLI:
|
|
|
+
|
|
|
+```sh
|
|
|
+{
|
|
|
+# NOTE: replace this line with the version
|
|
|
+version=v0.6.1
|
|
|
+name=porter-$version.zip
|
|
|
+curl -L https://github.com/porter-dev/porter/releases/download/${version}/porter_${version}_Linux_x86_64.zip --output $name
|
|
|
+unzip -a $name
|
|
|
+rm $name
|
|
|
+chmod +x ./porter
|
|
|
+sudo mv ./porter /usr/local/bin/porter
|
|
|
+}
|
|
|
+```
|
|
|
+
|
|
|
## Windows
|
|
|
|
|
|
Go [here](https://github.com/porter-dev/porter/releases/latest/download/porter_0.1.0-beta.1_Windows_x86_64.zip) to download the Windows executable and add the binary to your `PATH`.
|
|
|
@@ -118,4 +149,4 @@ Here's a reference table for the CLI documentation:
|
|
|
| `porter config set-project [PROJECT_ID]` | Sets the current project in config. |
|
|
|
| `porter connect [INTEGRATION]` | Connects Porter with the given infrastructure. Accepts `kubeconfig` and `ecr` as arguments. |
|
|
|
| `porter docker configure` | Grants the `docker` CLI access to a provisioned image registry. |
|
|
|
-| `porter run [RELEASE] -- [COMMAND] [args...]` | Executes a command on a remote container, specified by the release name. |
|
|
|
+| `porter run [RELEASE] -- [COMMAND] [args...]` | Executes a command on a remote container, specified by the release name. |
|