# 使用 Homebrew, Nix 安装 vtsls

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

## 安装

```sh
sudo av install brew:vtsls
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vtsls
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#vtsls
```

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

## 软件包事实

- **软件包键:** brew:vtsls
- **软件包管理器:** Homebrew
- **版本:** 0.3.0
- **来源摘要:** LSP wrapper for typescript extension of vscode
- **主页:** <https://github.com/yioneko/vtsls>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vtsls (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.3.0
## 项目历史与用法

vtsls is a TypeScript language server that wraps the TypeScript extension bundled with Visual Studio Code and exposes it through the Language Server Protocol. Its goal is to give non-VS Code editors access to behavior close to VS Code's TypeScript experience while minimizing patches against upstream VS Code code.

### 项目历史

The public repository was created on 2022-11-20, and the npm package `@vtsls/language-server` was first published on 2022-12-12. The README emphasizes a maintenance strategy: fill enough VS Code APIs and apply only small patches so the wrapper can track upstream VS Code TypeScript extension changes.

### 采用历史

vtsls found its niche in editor communities that wanted richer TypeScript and JavaScript behavior than older generic tsserver LSP adapters provided. Its README lists Neovim integration through nvim-lspconfig and nvim-vtsls, and Vue language tooling later referenced vtsls as part of the non-VS Code editor story for Vue 3 language-server integration.

### 使用方式

Typical use is to install `@vtsls/language-server` and launch `vtsls --stdio` from an LSP client. Users can rely on the bundled TypeScript version, switch to the workspace TypeScript version, tune tsserver memory for large projects, and expose VS Code-like TypeScript commands such as organize imports, reload projects, source definitions, and tsserver requests.

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

vtsls matters because it packages the VS Code TypeScript extension model for editors that speak LSP. It sits in the space between `typescript-language-server`, coc-tsserver, editor-specific plugins, and framework language servers such as Vue's, so package users care less about a standalone CLI UX and more about whether their editor can launch the binary and coordinate TypeScript plugins correctly.

### 时间线

- 2022-11-20: GitHub repository created.
- 2022-12-12: `@vtsls/language-server` first published to npm.
- 2025-06-29: Vue language-tools discussion for version 3 documents client-side coordination with TypeScript language servers and mentions vtsls support.
- 2025-12-24: npm metadata records version 0.3.0 publication.

### Related projects

- typescript-language-server and coc-tsserver are adjacent TypeScript LSP or editor-integration projects.
- Vue Language Tools can use TypeScript language-server coordination in non-VS Code editors, making vtsls relevant for Vue users as well as TypeScript users.

### 来源

- <https://api.github.com/repos/yioneko/vtsls - GitHub repository creation and activity metadata.>
- <https://github.com/vuejs/language-tools/discussions/5456 - Vue language-tools version 3 non-VS Code editor migration discussion.>
- <https://github.com/yioneko/vtsls - official README, usage, design notes, commands, and integrations.>
- <https://registry.npmjs.org/@vtsls/language-server - npm package metadata and publication dates.>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

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


## Combined YAML source

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


## 来源

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