# 使用 Homebrew, winget 安装 vscli

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

## 安装

```sh
sudo av install brew:vscli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vscli
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id michidk.vscli -e
```

  证据: Windows Package Manager source index: michidk.vscli from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:vscli
- **软件包管理器:** Homebrew
- **版本:** 1.3.2
- **来源摘要:** CLI/TUI that launches VSCode projects, with a focus on dev containers
- **主页:** <https://github.com/michidk/vscli>
- **仓库:** <https://github.com/michidk/vscli>
- **最后更新:** 2026-07-19T21:13:11Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vscli (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

vscli is a Rust CLI/TUI for launching Visual Studio Code projects, especially projects that use dev containers. It acts like a smarter `code` launcher: it remembers projects, detects devcontainer setups, supports multiple VS Code-like editors, and can open projects through a terminal UI.

### 项目历史

The repository was created in March 2023. Its README frames the project as a shortcut for launching VS Code projects with dev-container support, and links to Michael Lohr's February 2024 write-up about reverse-engineering Microsoft's dev-container launch behavior.

The blog post explains the motivation: users wanted to open dev containers directly from the command line instead of manually using VS Code UI commands. vscli worked around the lack of a simple `code --devcontainer` style command by constructing the remote folder URI forms VS Code uses for dev containers.

### 采用历史

vscli is a small developer convenience tool rather than a platform project. Its adoption lives among users who frequently switch between local projects and dev containers, and the project is distributed through Rust's Cargo ecosystem as well as package-manager channels such as Homebrew and Chocolatey.

The broader context is the Dev Container specification. The Dev Containers project documents a reference CLI that can read `devcontainer.json` metadata and create or configure containers, while VS Code and Codespaces integrate that model into product workflows. vscli sits beside that ecosystem as a launcher focused on editor-opening ergonomics.

### 使用方式

Users run `vscli` as a shorthand for opening projects in VS Code or compatible editors such as VS Code Insiders and Cursor. When a target folder contains dev-container configuration, vscli can launch the containerized workspace instead of just opening the local folder.

The TUI side tracks recent projects so users can reopen them without remembering paths. The tool also advertises support for multiple dev containers in one project, external reusable devcontainer configs, and container management actions such as listing, inspecting, and stopping dev containers.

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

The tool is package-nerd-significant as workflow glue. It turns a fiddly editor/dev-container launch path into a repeatable CLI/TUI command, which is exactly the sort of small automation developers reach for after the tenth time opening the same containerized workspace.

### 时间线

- 2023: GitHub repository is created for the Rust-based launcher.
- 2024: The author publishes a technical write-up explaining the dev-container reverse-engineering journey behind vscli.
- 2026: The repository remains active, and GitHub metadata shows several hundred stars.

### Related projects

- vscli is related to Visual Studio Code, VS Code Insiders, Cursor, Dev Containers, the Dev Container CLI, Codespaces, Docker, and projects with `.devcontainer/devcontainer.json` configuration.

### 来源

- Author blog post: https://blog.lohr.dev/launching-dev-containers
- Dev Containers reference implementation: https://containers.dev/implementors/reference/
- GitHub README: https://github.com/michidk/vscli
- GitHub repository API metadata: https://api.github.com/repos/michidk/vscli
- crates.io package page: https://crates.io/crates/vscli


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

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

- winget - michidk.vscli: normalized package name match | Windows Package Manager source index: michidk.vscli from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/vscli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vscli.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
