Skip to content

Commit

Permalink
docs(install): improve package managers installation
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Apr 29, 2024
1 parent 436c66f commit e9bd188
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 16 deletions.
43 changes: 35 additions & 8 deletions docs/content/en/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,57 @@ curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash -s -- --version VERSI
## Package Managers

{{< tabs "package managers" >}}
{{< tab "Windows" >}}

#### Scoop
{{<tab "Homebrew" >}}
{{< command >}}
brew install telegram-downloader
{{< /command >}}
{{< /tab >}}

{{<tab "Scoop" >}}
{{< command >}}
scoop bucket add extras
scoop install telegram-downloader
{{< /command >}}
{{< /tab >}}

{{<tab "Termux" >}}
{{< command >}}
pkg install tdl
{{< /command >}}
{{< /tab >}}

{{<tab "AUR" >}}
{{< command >}}
yay -S tdl
{{< /command >}}
{{< /tab >}}
{{< tab "MacOS" >}}

#### Homebrew
{{<tab "Nix" >}}

#### nix-env
{{< command >}}
brew install telegram-downloader
nix-env -iA nixos.tdl
{{< /command >}}

#### NixOS-Configuration
```
environment.systemPackages = [
pkgs.tdl
];
```

#### nix-shell
{{< command >}}
nix-shell -p tdl
{{< /command >}}

{{< /tab >}}
{{< tab "Linux" >}}
Contributions are welcome!
{{< /tab >}}

{{< /tabs >}}

[![Packaging status](https://repology.org/badge/vertical-allrepos/telegram-downloader.svg)](https://repology.org/project/telegram-downloader/versions)

## Prebuilt Binaries

1. Download the archive for the desired operating system, and architecture:
Expand Down
43 changes: 35 additions & 8 deletions docs/content/zh/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,57 @@ curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash -s -- --version VERSI
## 包管理器

{{< tabs "package managers" >}}
{{< tab "Windows" >}}

#### Scoop
{{<tab "Homebrew" >}}
{{< command >}}
brew install telegram-downloader
{{< /command >}}
{{< /tab >}}

{{<tab "Scoop" >}}
{{< command >}}
scoop bucket add extras
scoop install telegram-downloader
{{< /command >}}
{{< /tab >}}

{{<tab "Termux" >}}
{{< command >}}
pkg install tdl
{{< /command >}}
{{< /tab >}}

{{<tab "AUR" >}}
{{< command >}}
yay -S tdl
{{< /command >}}
{{< /tab >}}
{{< tab "MacOS" >}}

#### Homebrew
{{<tab "Nix" >}}

#### nix-env
{{< command >}}
brew install telegram-downloader
nix-env -iA nixos.tdl
{{< /command >}}

#### NixOS-Configuration
```
environment.systemPackages = [
pkgs.tdl
];
```

#### nix-shell
{{< command >}}
nix-shell -p tdl
{{< /command >}}

{{< /tab >}}
{{< tab "Linux" >}}
欢迎贡献!
{{< /tab >}}

{{< /tabs >}}

[![Packaging status](https://repology.org/badge/vertical-allrepos/telegram-downloader.svg)](https://repology.org/project/telegram-downloader/versions)

## 预编译二进制

1. 下载指定操作系统和架构的压缩包:
Expand Down

0 comments on commit e9bd188

Please sign in to comment.