Skip to content

Commit

Permalink
[skip ci] repo-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
loft-bot committed Dec 19, 2024
1 parent d4b7bac commit 231c946
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/pages/cli/_partials/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,36 @@ yarn global add loft.sh
<TabItem value="mac">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-darwin-amd64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-darwin-amd64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="mac-arm">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-darwin-arm64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-darwin-arm64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="linux">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-linux-amd64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-linux-amd64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="linux-arm">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-linux-arm64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-linux-arm64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="windows">

```powershell {4}
md -Force "$Env:APPDATA\loft"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12';
Invoke-WebRequest -URI "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-windows-amd64.exe" -o $Env:APPDATA\loft\loft.exe;
Invoke-WebRequest -URI "https://github.com/loft-sh/loft/releases/latest/download/loft-windows-amd64.exe" -o $Env:APPDATA\loft\loft.exe;
$env:Path += ";" + $Env:APPDATA + "\loft";
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User);
```
Expand Down
10 changes: 5 additions & 5 deletions docs/versioned_docs/version-3.4/cli/_partials/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,36 @@ yarn global add loft.sh
<TabItem value="mac">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-darwin-amd64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-darwin-amd64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="mac-arm">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-darwin-arm64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-darwin-arm64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="linux">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-linux-amd64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-linux-amd64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="linux-arm">

```bash
curl -L -o loft "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-linux-arm64" && sudo install -c -m 0755 loft /usr/local/bin
curl -L -o loft "https://github.com/loft-sh/loft/releases/latest/download/loft-linux-arm64" && sudo install -c -m 0755 loft /usr/local/bin
```

</TabItem>
<TabItem value="windows">

```powershell {4}
md -Force "$Env:APPDATA\loft"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12';
Invoke-WebRequest -URI "https://github.com/loft-sh/loft/releases/download/v3.4.9/loft-windows-amd64.exe" -o $Env:APPDATA\loft\loft.exe;
Invoke-WebRequest -URI "https://github.com/loft-sh/loft/releases/latest/download/loft-windows-amd64.exe" -o $Env:APPDATA\loft\loft.exe;
$env:Path += ";" + $Env:APPDATA + "\loft";
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User);
```
Expand Down

0 comments on commit 231c946

Please sign in to comment.