Skip to main content

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

pipx installs 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linkup_cli-0.5.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linkup_cli-0.5.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for linkup_cli-0.5.1.tar.gz
Algorithm Hash digest
SHA256 1724a82a617f6d1989cf66c584413088b169270dbf46143106c152575f8b73fb
MD5 68525d38057d7fc4d5fa5ac2895258dd
BLAKE2b-256 30b45c9e2e44753f2f2133941880afaf691adf3eba1cc62ac7dd14ed7608607b

See more details on using hashes here.

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

Hashes for linkup_cli-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1e4826878b6763fb9d2453c577370e33d779c7d96775a8deadcd0797b8f3c24
MD5 cf45d4619b7e1e7e2a8268e4cea09c05
BLAKE2b-256 36806653c9dd5f0bd228900484c3ef0cf4d2b48055aa38fb3b89f2d3b047bd18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page