Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions pages.ko/common/npm-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,26 @@

`npm cache add {{패키지_이름}}`

- 특정 패키지를 캐시에서 제거:

`npm cache remove {{패키지_이름}}`

- 키를 사용하여 특정 캐시 항목 삭제:

`npm cache clean {{키}}`

- 전체 npm 캐시 삭제:

`npm cache clean --force`
`npm cache clean {{[-f|--force]}}`

- npm 캐시의 내용 나열:
- 캐시된 패키지 나열:

`npm cache ls`

- npm 캐시의 무결성 확인:
- 특정 이름과 버전과 일치하는 캐시된 패키지 나열:

`npm cache verify`
`npm cache ls {{이름}}@{{버전}}`

- npm 캐시 위치 및 구성 정보 표시:
- npm 캐시의 무결성 확인:

`npm cache dir`
`npm cache verify`

- 캐시 경로 변경:
- npx 캐시의 모든 항목 나열:

`npm config set cache {{경로/대상/폴더}}`
`npm cache npx ls`
20 changes: 8 additions & 12 deletions pages/common/npm-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,26 @@

`npm cache add {{package_name}}`

- Remove a specific package from the cache:

`npm cache remove {{package_name}}`

- Clear a specific cached item by key:

`npm cache clean {{key}}`

- Clear the entire npm cache:

`npm cache clean --force`
`npm cache clean {{[-f|--force]}}`

- List the contents of the npm cache:
- List cached packages:

`npm cache ls`

- Verify the integrity of the npm cache:
- List cached packages matching a specific name and version:

`npm cache verify`
`npm cache ls {{name}}@{{version}}`

- Show the cache path:
- Verify the integrity of the npm cache:

`npm {{[c|config]}} get cache`
`npm cache verify`

- Change the cache path:
- List all entries in the npx cache:

`npm {{[c|config]}} set cache {{path/to/directory}}`
`npm cache npx ls`