# 使用 Homebrew, Nix 安装 fish-lsp

查看 fish-lsp 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:fish-lsp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fish-lsp
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fish-lsp
```

  证据: nixpkgs package indexes: pkgs/by-name/fi/fish-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fish-lsp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fish-lsp>
- **版本:** 1.1.4
- **来源摘要:** LSP implementation for the fish shell language
- **主页:** <https://www.fish-lsp.dev>
- **上游文档:** <https://www.fish-lsp.dev>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/fish-lsp/-/fish-lsp-1.1.4.tgz>
- **最后更新:** 2026-06-12T12:53:00Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- fish-lsp (cli)
- fish-lsp (别名)

## 依赖

- node

## 构建依赖

- fish

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.4
- 管理器更新时间: 2026-06-12
- 本地数据: OK
- 上游仓库: https://www.fish-lsp.dev
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

fish-lsp is a Language Server Protocol implementation for the fish shell language, bringing editor features such as completions, hover, goto definition, formatting, diagnostics, rename, symbols, semantic tokens, and inlay hints to fish scripts.

### 项目历史

The project was created in 2022 as the fish ecosystem was increasingly used for larger personal shell configurations and scripts. Its README positions the server as an editor-agnostic way to give fish users a consistent development environment rather than depending on each editor's local fish support.

### 采用历史

fish-lsp is packaged for multiple developer workflows: the official README documents npm, yarn, pnpm, Nix, Homebrew, conda, mamba, standalone GitHub release binaries, and source builds. It also links client configuration examples and nvim-lspconfig integration, which is a strong signal that adoption is editor-driven.

### 使用方式

A normal setup installs the `fish-lsp` binary, configures an editor language client to run `fish-lsp start` for fish files, and optionally installs shell completions with `fish-lsp complete > ~/.config/fish/completions/fish-lsp.fish`.

### 为什么软件包爱好者会关心

For package nerds, fish-lsp is notable because it turns fish from an interactive shell with nice built-ins into a language that participates in the modern LSP/editor tooling stack. It also has unusually broad distribution paths for a young shell-specific tool.

### 时间线

- 2022: GitHub repository created.
- 2025: 1.0.x releases established regular packaged releases.
- 2026: 1.1.4 published, with releases continuing through GitHub and package managers.

### Related projects

- Related projects include fish shell, the Language Server Protocol, editor LSP clients, nvim-lspconfig, and fish completion tooling.

### 来源

- <https://github.com/ndonfris/fish-lsp>
- <https://github.com/ndonfris/fish-lsp/releases>
- <https://www.fish-lsp.dev/>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fish-lsp
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - fish-lsp: normalized package name match | nixpkgs package indexes: pkgs/by-name/fi/fish-lsp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [fish](https://pkg.so/zh-hans/brew/fish/) - Build dependency declared by Homebrew.
- [efm-langserver](https://pkg.so/zh-hans/brew/efm-langserver/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, formatting, language-server.
- [gopls](https://pkg.so/zh-hans/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [python-lsp-server](https://pkg.so/zh-hans/brew/python-lsp-server/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [codebook-lsp](https://pkg.so/zh-hans/brew/codebook-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [expert](https://pkg.so/zh-hans/brew/expert/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [pkl-lsp](https://pkg.so/zh-hans/brew/pkl-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [jq-lsp](https://pkg.so/zh-hans/brew/jq-lsp/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [actions-languageserver](https://pkg.so/zh-hans/brew/actions-languageserver/) - Shares pkgdb curated category or tags: cli, developer-tools, editor-integration, language-server, lsp.
- [perlnavigator](https://pkg.so/zh-hans/brew/perlnavigator/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, editor, editor-integration.

## Combined YAML source

View the package source record on GitHub. [combined/fish-lsp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fish-lsp.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
