dsh-win32
安全与治理 活跃维护

dsh-win32

sjh9714/dsh-win32

一条命令在Windows上装好极简模式持久shell,沙箱环境同样可用。自动完成安装与配置,开箱即用,保持跨会话的终端状态,省去重复初始化。

14
Stars 标星
2
Forks 分支
14
Watchers 关注
5
Open Issues
TypeScript
主要语言
MIT
开源协议
4.2 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:sjh9714/dsh-win32
git clone https://github.com/sjh9714/dsh-win32.git
git clone git@github.com:sjh9714/dsh-win32.git
README.md master

dsh-win32

Native Windows. No WSL.

One command. Workspace Write.

Run DSH Minimal mode on Windows with the sandboxed preset.

npx dsh-win32 setup --sandboxed

This preset uses busybox ash, so Git Bash and WSL are not required.

中文 · Windows details

npm CI stars win32 MIT

See it work

Illustrated installation reproduction. This is not a real capture.

Illustrated dsh-win32 installation reproduction

Real Windows session.

A real Windows session fixes a failing test in Workspace Write

The real session runs a failing test, reads the source, applies a fix, and reruns it to all tests passed in Workspace Write.

Choose a preset

After setup, start DSH, add a workspace, and choose the preset.

  • Minimal (Windows, sandboxed) uses busybox ash inside Workspace Write. Install it with npx dsh-win32 setup --sandboxed.
  • Minimal (Windows) uses Git Bash and needs danger-full-access. Install it with npx dsh-win32 setup after installing Git for Windows.

Doctor

npx dsh-win32 doctor

doctor lists known Windows setup traps and their safe fixes. Use npx dsh-win32 fix for fixes it can apply safely.

Honest limits

  • The sandboxed preset is ash, not Bash. It does not support arrays or [[ ]].
  • Legacy-encoded files are read automatically, but saving an edited file writes UTF-8.
  • Treat C:\tmp as outside the expected write fence until the upstream Windows path issue is fixed.

Read the Windows details, evidence, and complete limitations. Read the Chinese translation.

License

MIT. The preset composition mirrors the official Minimal preset with credit.