Linkup CLI
Official command-line interface for Linkup - AI-powered web search.
Installation
pip install linkup-cli
On macOS Sonoma+ or if you get "externally-managed-environment" error:
brew install pipx
pipx install linkup-cli
pipxinstalls CLI tools in isolated environments - recommended for CLI tools.
Quick Start
# Install
pip install linkup-cli
# Setup (opens browser to get API key)
linkup setup
# Search
linkup search "What is the capital of France?"
That's it! The setup wizard will guide you through getting your API key.
Usage
Search
# Basic search (standard depth, sourced answer)
linkup search "your query"
# Deep search (more thorough, better for complex queries)
linkup search "complex research topic" --depth deep
# Get raw search results instead of AI answer
linkup search "python tutorials" --output searchResults
# Combine options
linkup search "latest AI research" --depth deep --output searchResults
# Short form
linkup s "your query" -d deep -o searchResults
Fetch
Extract content from any URL:
linkup fetch "https://example.com"
Configuration
Check your configuration:
linkup config
Options
| Flag | Short | Values | Description |
|---|---|---|---|
--depth |
-d |
fast, standard, deep |
Search depth (default: standard) |
--output |
-o |
sourcedAnswer, searchResults |
Output type (default: sourcedAnswer) |
--version |
-V |
Show version | |
--help |
-h |
Show help |
Environment Variables
| Variable | Description |
|---|---|
LINKUP_API_KEY |
Your Linkup API key (required) |
Examples
# Quick facts
linkup search "population of tokyo"
# Research
linkup search "latest developments in quantum computing" --deep
# Get sources
linkup search "best python web frameworks" --output searchResults
# Extract article content
linkup fetch "https://example.com/article"
Links
License
MIT
Metadata
Release files for linkup-cli 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| linkup_cli-0.5.2.tar.gz | 7.7 kB | Without provenance | Details for linkup_cli-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| linkup_cli-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for linkup_cli-0.5.2-py3-none-any.whl |
Total release size: 14.7 kB
Release files / linkup_cli-0.5.2.tar.gz
| Download URL | linkup_cli-0.5.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
383060ea022d9426f4f17903cac6824195a5d1045ab368c7011ccc28a4ed8735
|
|
BLAKE2b-256 checksum How to use checksums |
7fee245e0b53c93329f2753bfe8d58b9d16aeeaf0c70012cb8f0d47e0dc68671
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / linkup_cli-0.5.2-py3-none-any.whl
| Download URL | linkup_cli-0.5.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28a548f90f0ec95ba2cfb5480523f15046ca4ebb3e1c5851e1043d021de52f7e
|
|
BLAKE2b-256 checksum How to use checksums |
8afd0880cce994629cb865362147d8f996d4608bda49ffa2df1d9a61c9ea8aeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for linkup-cli 0.5.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.