zx

(★ 45,683)

더 나은 스크립트를 작성하기 위한 도구

파일 탐색기

  • .commitlintrc
  • .gitattributes
  • .gitignore
  • .node_version
  • .nycrc
  • .prettierignore
  • .size-limit.json
  • lefthook.yml
  • LICENSE
  • package-lock.json
  • package.json
  • README.md
  • tsconfig.json
  • zizmor.yml

# 설치 가이드

node
사전 준비물

설치 및 실행 절차

npm install zx

zx 패키지를 글로벌 또는 프로젝트에 설치합니다.

핵심 명령어

npm install zx

프로젝트 종속성으로 zx 패키지를 설치합니다.

Node.js, Bun, 또는 Deno 런타임 환경에서 실행할 수 있습니다.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

릴리즈 타임라인

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

dep

설명 보기 ▼

PHP 애플리케이션 배포.
참고: 동일한 이름의 Go 명령어 `dep`은 더 이상 사용 되지 않으며 유지 보수되지 않음(archived).
더 많은 정보: <https://deployer.org/docs/8.x/cli>.

dep init

로컬 경로에서 대화형으로 deployer를 초기화 (`--template=template`으로 프레임워크 템플릿 사용 가능):

dep deploy {{hostname}}

애플리케이션을 원격 호스트에 배포:

dep rollback

이전 정상 동작 릴리스로 롤백:

🔍

git branch

설명 보기 ▼

Main Git command for working with branches.

git branch {{[-a|--all]}}

List all branches (local and remote; the current branch is highlighted by `*`):

git branch {{[-a|--all]}} --contains {{commit_hash}}

List which branches include a specific Git commit in their history:

git branch --show-current

Show the name of the current branch:

🔍

npm install

설명 보기 ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

// repository documentation