# Install librespot with Cargo

An open source client library for Spotify, with support for Spotify Connect. Version 0.8.0 via Cargo; verified 2025-11-10. Also installable with nix: nix profile install nixpkgs#librespot.

## Install

```sh
sudo av install cargo:librespot
```

Additional install commands:

### Portable and language managers

- Cargo (100%):

```sh
cargo install librespot
```

  Evidence: local crates.io package metadata

## Package facts

- **Package key:** cargo:librespot
- **Package manager:** Cargo
- **Package manager page:** <https://crates.io/crates/librespot>
- **Version:** 0.8.0
- **Source summary:** An open source client library for Spotify, with support for Spotify Connect
- **Repository:** <https://github.com/librespot-org/librespot>
- **License:** MIT
- **Source archive:** <https://static.crates.io/crates/librespot/librespot-0.8.0.crate>
- **Published:** 2025-11-10 22:56:59.211571+00
- **Last updated:** 2025-11-10 22:56:59.211571+00
- **Generated:** 2026-09-19T06:45:57+00:00

## Executables

- librespot (binary): Declared by crates.io version metadata.

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-09-19
- Package-manager version: 0.8.0

## Security Notes

No matching local secret-handling manifest was found for librespot. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** crates.io database dump
- **Crate ID:** 52,664
- **Crate Size:** 64,240
- **Edition:** 2024
- **Executable Intent:** Intent: public_cli, Signals: manifest declares a binary target, archive contains src/main.rs, binary name matches crate name
- **Has Lib:** yes
- **Num Versions:** 18
- **Recent Download Window Days:** 90
- **Rust Version:** 1.85
- **Version ID:** 1,818,546

## Other Package-Manager Records

- Nix - librespot: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/librespot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - librespot - 0.8.0-r0: normalized package name match | Alpine Linux edge package indexes: librespot from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open Source Spotify client library | https://github.com/librespot-org/librespot
- apk - librespot-openrc - 0.8.0-r0: normalized package name match | Alpine Linux edge package indexes: librespot-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Open Source Spotify client library (OpenRC init scripts) | https://github.com/librespot-org/librespot
- pacman - librespot - 0.8.0-5: normalized package name match | Arch Linux sync databases: librespot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open source client library for Spotify | https://github.com/librespot-org/librespot


## Related links

- [librespot](https://pkg.so/brew/librespot/) - Same normalized package name exists in another local package ecosystem.

## Sources

- crates.io package index
- external package-manager database matches
- cross-ecosystem install command graph
