mirror of
https://github.com/iyear/tdl
synced 2025-01-08 11:57:55 +08:00
docs(install): improve package managers installation
This commit is contained in:
parent
436c66fbfa
commit
e9bd188932
@ -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 "MacOS" >}}
|
||||
|
||||
#### Homebrew
|
||||
|
||||
{{<tab "Termux" >}}
|
||||
{{< command >}}
|
||||
brew install telegram-downloader
|
||||
pkg install tdl
|
||||
{{< /command >}}
|
||||
{{< /tab >}}
|
||||
|
||||
{{<tab "AUR" >}}
|
||||
{{< command >}}
|
||||
yay -S tdl
|
||||
{{< /command >}}
|
||||
{{< /tab >}}
|
||||
|
||||
{{<tab "Nix" >}}
|
||||
|
||||
#### nix-env
|
||||
{{< command >}}
|
||||
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:
|
||||
|
@ -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 "MacOS" >}}
|
||||
|
||||
#### Homebrew
|
||||
|
||||
{{<tab "Termux" >}}
|
||||
{{< command >}}
|
||||
brew install telegram-downloader
|
||||
pkg install tdl
|
||||
{{< /command >}}
|
||||
{{< /tab >}}
|
||||
|
||||
{{<tab "AUR" >}}
|
||||
{{< command >}}
|
||||
yay -S tdl
|
||||
{{< /command >}}
|
||||
{{< /tab >}}
|
||||
|
||||
{{<tab "Nix" >}}
|
||||
|
||||
#### nix-env
|
||||
{{< command >}}
|
||||
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. 下载指定操作系统和架构的压缩包:
|
||||
|
Loading…
Reference in New Issue
Block a user