node-ssh
SSH2 with Promises
파일 탐색기
- build_and_test.yml
- index.ts
- .gitkeep
- .gitkeep
- ff
- more deep files
- deep files
- deep
- aa
- bb
- cc
- dd
- ff
- gg
- hh
- ii
- jj
- id_rsa
- id_rsa.ppk
- id_rsa.pub
- test-program.js
- helpers.ts
- main-test.ts
- ssh-server.ts
- validation-test.ts
- .eslintignore
- .eslintrc.json
- .gitignore
- .prettierrc
- CHANGELOG.md
- LICENSE.md
- package.json
- README.md
- tsconfig.json
- yarn.lock
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
npm install
설명 보기 ▼
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`:
screen
설명 보기 ▼
screen
원격 서버에서 세션을 열어 유지. 단일 SSH 연결로 여러 창을 관리.
관련 항목: `tmux`, `zellij`.
더 많은 정보: <https://manned.org/screen>.
screen
새 screen 세션 시작:
screen -S {{session_name}}
새 이름 지정 screen 세션 시작:
screen -dmLS {{session_name}} {{command}}
새로운 데몬을 시작하고 출력을 `screenlog.x`에 기록:
tmux
설명 보기 ▼
tmux
터미널 멀티플렉서.
tmux는 단일 단말기 창 또는 원격 터미널 세션 안에서 여러 세션을 사용할 수 있도록 도와줍니다.
관련 항목: `zellij`, `screen`.
더 많은 정보: <https://github.com/tmux/tmux>.
tmux
새 세션 시작:
tmux {{[new|new-session]}} -s {{name}}
이름있는 새 세션 시작:
tmux {{[ls|list-sessions]}}
세션 리스트 출력:
yarn
설명 보기 ▼
yarn
JavaScript 및 Node.js 패키지 대체 관리자.
더 많은 정보: <https://yarnpkg.com/cli>.
yarn global add {{module_name}}
전역적으로 모듈 설치:
yarn install
`package.json` 파일에 참조된 모든 의존성을 설치 ( `install`은 선택 사항입니다):
yarn add {{module_name}}@{{version}}
모듈을 설치하고 `package.json` 파일에 대한 의존성으로 저장 (개발 전용 의존성으로 추가하려면 `--dev` 추가):
