Official CLI for Linkup - AI-powered web search
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linkup_cli-0.5.1.tar.gz.
File metadata
- Download URL: linkup_cli-0.5.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1724a82a617f6d1989cf66c584413088b169270dbf46143106c152575f8b73fb
|
|
| MD5 |
68525d38057d7fc4d5fa5ac2895258dd
|
|
| BLAKE2b-256 |
30b45c9e2e44753f2f2133941880afaf691adf3eba1cc62ac7dd14ed7608607b
|
File details
Details for the file linkup_cli-0.5.1-py3-none-any.whl.
File metadata
- Download URL: linkup_cli-0.5.1-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1e4826878b6763fb9d2453c577370e33d779c7d96775a8deadcd0797b8f3c24
|
|
| MD5 |
cf45d4619b7e1e7e2a8268e4cea09c05
|
|
| BLAKE2b-256 |
36806653c9dd5f0bd228900484c3ef0cf4d2b48055aa38fb3b89f2d3b047bd18
|