poppler 설치 스크립트(PDF읽기)
윈도우에서 claude code에게 pdf를 바로 읽게 해줄 수 있는 도구.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 1. 다운로드
curl -L -o "$env:TEMP\poppler.zip" "https://github.com/oschwartz10612/poppler-windows/releases/download/v24.08.0-0/Release-24.08.0-0.zip"
# 2. 압축 해제
Expand-Archive "$env:TEMP\poppler.zip" -DestinationPath "C:\poppler" -Force
# 3. 시스템 PATH 영구 추가
$binPath = "C:\poppler\poppler-24.08.0\Library\bin"
$currentPath = [Environment]::GetEnvironmentVariable("PATH", "Machine")
if ($currentPath -notlike "*$binPath*") {
[Environment]::SetEnvironmentVariable("PATH", "$currentPath;$binPath", "Machine")
}
# 4. 확인
& "$binPath\pdftoppm.exe" -v
이 기사는 저작권자의 CC BY 4.0 라이센스를 따릅니다.