Install PeerFlix and WebTorrent
```sh
-npm install --global peerflix webtorrent
+npm install --global peerflix webtorrent-cli
```
+(Optional) If you want your YouTube downloads to be faster, install `aria2` download manager.
+
### Installing using Nimble
NimCoon can be installed from Nimble repositories:
let args =
if musicOnly: buildMusicDownloadArgs(url)
else: buildVideoDownloadArgs(url)
- discard execShellCmd(&"youtube-dl {args.join(\" \")}")
+ if isInstalled("aria2c"):
+ discard execShellCmd(&"youtube-dl {args.join(\" \")} --external-downloader aria2c --external-downloader-args '-x 16 -s 16 -k 2M'")
+ else:
+ discard execShellCmd(&"youtube-dl {args.join(\" \")}")
proc offerSelection(searchResults: SearchResults, options: Table[string, bool], selectionRange: SelectionRange): string =