| Crates.io | archlink |
| lib.rs | archlink |
| version | 0.1.1 |
| created_at | 2025-07-31 19:55:46.332882+00 |
| updated_at | 2025-07-31 19:55:46.332882+00 |
| description | ArchLink helps Arch Linux users to find the right packages to install |
| homepage | https://github.com/amirhosseinghanipour/archlink |
| repository | https://github.com/amirhosseinghanipour/archlink |
| max_upload_size | |
| id | 1775633 |
| size | 63,933 |
archLink is a command-line tool for Arch Linux that assists users in finding and installing packages from the official repositories and the Arch User Repository (AUR). It provides suggestions for misspelled or vague packages queries using fuzzy matching and keyword relevance.
If you have the Rust toolchain installed, you can install archlink directly from the official package registry:
cargo install archlink
git clone https://github.com/amirhosseinghanipour/archlink.git
cd archLink
cargo build --release
sudo cp target/release/archlink /usr/local/bin
yay -S archlink
or compile the source.
pacman package manager installed.Search for packages and get suggestions:
arch link search <query>
Example:
archlink search python
Output:
Suggestions for 'python':
1. python - Next generation of the python high-level scripting language [official]
2. python-pip - The PyPA recommended tool for installing Python packages [official]
...
Enter the number of the package to install (0 to exit):
Install a specific package without searching:
archlink install <package>
Example:
archlink install python
Output:
Running 'sudo pacman -S python'... (may prompt for password)
Successfully installed 'python'
Display available commands and options:
archlink --help
Output:
archlink 0.1.0
ArchLink helps Arch Linux users to find the right packages to install
USAGE:
archlink <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
search Search for packages in official repos and AUR
install Install a package directly
archlink uses a configuration file located at /etc/archlink/config.toml. The default configuration is:
[default]
max_results = 10
Edit /etc/archlink/config.toml to change the maximum number of search results:
[default]
max_results = 5
If the file is missing or malformed, archlink defaults to 10 results and prints a warning.
Contributions are welcome. To contribute:
File bug reports or feature requests in the Issues section.
archlink is licensed under the MIT license.
To create an Arch package:
cd archlink
makekpg -si
The PKGBUILD file is included in the repository for AUR submission.
clap (CLI parsing)reqwest (HTTP requests for AUR)serde (JSON and TOML serialization)tokio (async runtime)strsim (fuzzy matching)toml (configuration parsing)urlencoding (URL encoding for AUR queries)colored (ANSI colors)