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.2.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.2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file linkup_cli-0.5.2.tar.gz.

File metadata

  • Download URL: linkup_cli-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 383060ea022d9426f4f17903cac6824195a5d1045ab368c7011ccc28a4ed8735
MD5 4210567fc3f862711f9a6c123744cd1c
BLAKE2b-256 7fee245e0b53c93329f2753bfe8d58b9d16aeeaf0c70012cb8f0d47e0dc68671

See more details on using hashes here.

File details

Details for the file linkup_cli-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: linkup_cli-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28a548f90f0ec95ba2cfb5480523f15046ca4ebb3e1c5851e1043d021de52f7e
MD5 aea40c8d2701284ff3e6c7a19fd3e0fa
BLAKE2b-256 8afd0880cce994629cb865362147d8f996d4608bda49ffa2df1d9a61c9ea8aeb

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