---
name: "lei-forget-external"
section: "1"
platform: "linux"
package: "lei"
version: "2.1.0-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/lei-forget-external"
---

# lei-forget-external(1)

forget external locations

## NAME

lei-forget-external - forget external locations

## SYNOPSIS

lei forget-external \[OPTIONS\] LOCATION \[LOCATION...\]

## DESCRIPTION

Forget the specified externals by removing their entries from `"$XDG_CONFIG_HOME/lei/config"`.  This excludes the locations from future search results.

## OPTIONS

- \-q

  - \--quiet

  Suppress feedback messages.

## CONTACT

Feedback welcome via plain-text mail to \<mailto:meta@public-inbox.org\>

The mail archives are hosted at \<https://public-inbox.org/meta/\> and \<http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/\>

## COPYRIGHT

Copyright 2021 all contributors \<mailto:meta@public-inbox.org\>

License: AGPL-3.0+ \<https://www.gnu.org/licenses/agpl-3.0.txt\>

## SEE ALSO

[**lei-add-external**(1)](/lei-add-external/1.md), [**lei-ls-external**(1)](/lei-ls-external/1.md)
