DSH Wiki DSH Wiki
DEPLOY

설치와 실행

0에서 실행까지 4단계. 모든 명령어는 공식 README와 하나하나 대조했어요.
01

CLI 설치

npx 명령어 한 줄로 바로 실행돼요. macOS / Linux / Windows 모두 지원하고, Node 22.19+면 충분해요.
02

모델 연결

DeepSeek API key를 입력하거나, Ollama를 연결해 로컬에서 돌리는 모델을 그대로 쓸 수 있어요.
03

실행

터미널에서 바로 시작하세요. 명령줄이 싫다면 dsh web으로 브라우저 인터페이스를 띄우면 돼요.
04

첫 플러그인 설치

추천 목록에서 하나 골라 설치해 보세요 — 여기서부터, 모든 것은 플러그인이에요.
REQUIREMENTS
runtime · readme_wording
Install `Node.js`, then run: npx @deepseek-ai/dsh web
runtime · package_json_engines_node
^22.19.0 || >=24.0.0
runtime · package_json_packageManager
pnpm@11.7.0
runtime · root_package
@deepseek-ai/dsh-root 0.1.0-rc.7
runtime · engines_source_url
linux_build_tools_note
공식 문서에는 없지만 커뮤니티 토론(#1772/#49/#897)에서 확인된 사항: Linux에서는 node-pty 네이티브 모듈을 로컬에서 컴파일해야 함. Debian은 build-essential, Arch는 base-devel이 필요하고 g++는 gnu++20을 지원해야 함(GCC 10+)
status_warning
DeepSeek Harness is currently in _developer preview_ and is iterating rapidly. THERE WILL BE COMPATIBILITY-BREAKING CHANGES.(README 원문)

npx 바로 실행 (공식 README 권장)

npx @deepseek-ai/dsh web
원문

소스에서 실행 (pnpm)

git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web
원문

Ollama 연동 (로컬/프라이빗)

ollama launch dsh
원문

npm 전역 설치 (커뮤니티 방식, 공식 README 미기재)

npm install -g @deepseek-ai/dsh
dsh web
원문

MODEL

api · deepseek_key
Web UI의 Settings → Models 에서 DeepSeek 카드에 API key(https://platform.deepseek.com/ 에서 발급)를 입력하고 저장. 공식 원문: "The model route becomes usable immediately without restarting the server"(저장 즉시 적용, 재시작 불필요)
api · key_storage
providers.md 원문: "Keys are write-only. The page receives a redacted descriptor after saving, never the literal secret. The key is stored in `$DSH_HOME/.credentials.yaml`". 모델 정의는 $DSH_HOME/settings.yaml 에 저장
api · catalog_providers
Anthropic
api · catalog_providers
OpenAI
api · catalog_providers
Bedrock
api · catalog_providers
Vertex
api · catalog_providers
Azure
api · catalog_providers
Codex
api · catalog_config
Add provider → 제공사 선택 → API key 입력 → 저장. Bedrock/Vertex/Azure/Codex는 각각 AWS 자격 증명+region, ADC project, api-version, OAuth를 사용
api · env_var
자격 증명은 환경 변수로 주입 가능(설정 예시의 apiKeyEnv 필드, 예: GATEWAY_API_KEY)
api · source_url
local · custom_openai_compatible
Add a custom provider: Provider ID(소문자, 변경 불가), 표시 이름, base URL, API 프로토콜, 자격 증명, 모델 최소 1개를 입력. Fetch available models 로 OpenAI 호환 GET /models 를 호출해 모델 목록을 자동으로 가져올 수 있고, 지원하지 않는 엔드포인트는 모델명을 직접 입력
local · ollama
ollama launch dsh 명령 하나로 완전히 로컬에서 실행되고 Ollama web search 플러그인이 기본 설치됨(Ollama 공식 설명 기준)
local · source_url

LAUNCH

web_ui · command
npx @deepseek-ai/dsh web
web_ui · alias
dsh web 은 dsh --profile web 의 별칭
web_ui · default_address
web_ui · first_run_flow
① Settings → Models 에서 DeepSeek API key 입력 → ② Choose workspace 로 작업 디렉터리 선택(공식 원문: "The session composer remains unavailable until a workspace is selected") → ③ 세션을 열고 작업 요청
web_ui · source_url
terminal · headless
dsh --profile headless "job" — 공식 설명: "Run one fresh persisted session, print the final answer, and exit"
terminal · profile
dsh --profile <name> — "Boot the named profile under $DSH_HOME/profiles/<name>". web과 headless 두 profile은 첫 사용 시 템플릿에서 자동 초기화되고, 나머지 profile은 dsh plugin 을 통해 만들어야 함
terminal · plugin_mgmt
dsh plugin --profile <name> <pnpm args> — pnpm 인자를 profile 디렉터리로 전달해 플러그인을 관리
terminal · flags
--port
terminal · flags
--resume
terminal · flags
--patch
terminal · flags
--dump-default-config
terminal · flags
--dump-config
terminal · flags
--help
terminal · source_url
modes · list · name_zh
표준 모드
modes · list · name_en
Standard
modes · list · dir
standard
modes · list · official_desc_zh
기능이 완비된 코딩 Agent. 파일 편집, Shell, 파일·웹 검색, Skills, 계획, 목표, 서브에이전트, 워크플로를 지원.
modes · list · name_zh
PTC 모드
modes · list · name_en
Code
modes · list · dir
code
modes · list · official_desc_zh
표준 모드의 모든 능력을 갖추고, Code Mode SDK로 도구를 노출해 모델이 하나의 TypeScript 프로그램으로 여러 단계를 조합하도록 함.
modes · list · name_zh
미니멀 모드
modes · list · name_en
Minimal
modes · list · dir
minimal
modes · list · official_desc_zh
지속 bash와 str_replace_editor 두 가지 도구만 제공하는 코딩 Agent.
modes · list · name_zh
창작 모드
modes · list · name_en
Creator
modes · list · dir
cordis
modes · list · official_desc_zh
커스텀 Agent preset 제작용. 표준 모드의 모든 능력에 더해 런타임 점검, 플러그인 실험, preset 작성 가이드를 제공.
modes · definition_location
apps/cli/config/agent-presets/ 아래 네 개 디렉터리(code/cordis/minimal/standard). preset 정의 파일은 공식적으로 중국어로 작성돼 있음
modes · source_url

UPGRADE / UNINSTALL

note
README, apps/cli/README.md, docs 사용자 가이드 어디에도 업그레이드/제거 명령이 없음(하나씩 대조한 결과 ABSENT). 커뮤니티 토론에는 npx 캐시를 지우는 방법(rm -rf ~/.npm/_npx, #49/#897 참고)이 있으나 이는 문제 해결 수단이지 공식 업그레이드 절차는 아님

ISSUES

npx로 설치 안 됨 | npm으로도 설치 안 됨 (#1772, 해결됨)
작성자 본인 답변(2026-08-16): Debian에 build-essential이 없어 node-pty 네이티브 모듈 컴파일이 실패. apt로 build-essential 을 설치한 뒤 정상 설치됨
ArchLinux에서 설치되지 않음 (#49, 댓글 18개)
추천 많은 해법: ① pacman -Syu base-devel 로 컴파일 도구 설치. ② Bun으로 전환: bun add --global @deepseek-ai/dsh(node-pty가 Bun 화이트리스트에 있음). ③ npm을 고수하려면 캐시를 지운 뒤 빌드 스크립트를 허용: rm -rf ~/.npm/_npx && npx --allow-scripts=node-pty @deepseek-ai/dsh@0.1.0-rc.6 web. 다른 방법: npm config set allow-scripts=@deepseek-ai/dsh-subprocess-local,koffi,node-pty,@google/genai,protobufjs --location=user
명령줄 설치가 되지 않음 (#897, 댓글 10개)
커뮤니티 진단: 시스템 기본 g++ 9.4.0이 -std=gnu++20 을 지원하지 않음(GCC 10+ 필요). 해법: npx 캐시를 먼저 지우고 CC=gcc-11 CXX=g++-11 npm install -g @deepseek-ai/dsh 실행 후 dsh web
npm 전역 설치 후 dsh web 실행 실패: node-pty 네이티브 모듈 pty.node 누락 (#1219)
근본 원인: node-pty v1.1.0에 Linux x64(Node 24/ABI 137)용 사전 빌드 산출물이 없어 npm 설치 스크립트가 조용히 실패. 수동 우회: node-pty 디렉터리로 들어가 npx node-gyp rebuild 를 실행해 누락된 pty.node 생성. 해당 게시물에 공식 답변 없음(답글 0)
dsh 플러그인 설치 시 Ignored build scripts 오류 (#2230)
해법 상세는 수집하지 못함(댓글 1개, 심층 대조 미실시). 증상은 pnpm이 기본적으로 의존성 빌드 스크립트를 무시하는 보안 정책과 관련돼 있어 #49의 allow-scripts 방안을 참고할 수 있음 — 이 항목의 해법은 보완 필요
DSH Wiki · DSH 소식통 · ai798 Lab 제작
DeepSeek Harness 공식 사이트 GitHub
실측 데이터