node-ssh
SSH2 with Promises
File Explorer
- 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
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
npm install
View Details ▼
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
View Details ▼
screen
Hold a session open on a remote server. Manage multiple windows with a single SSH connection.
See also: `tmux`, `zellij`, `herdr`.
screen
Start a new screen session:
screen -S {{session_name}}
Start a new named screen session:
screen -dmLS {{session_name}} {{command}}
Start a new daemon and log the output to `screenlog.x`:
tmux
View Details ▼
tmux
Terminal multiplexer.
It allows multiple sessions with windows, panes, and more.
See also: `zellij`, `screen`, `herdr`.
tmux
Start a new session:
tmux {{[new|new-session]}} -s {{name}}
Start a new named [s]ession:
tmux {{[ls|list-sessions]}}
List existing sessions:
yarn
View Details ▼
yarn
JavaScript and Node.js package manager alternative.
yarn global add {{module_name}}
Install a module globally:
yarn install
Install all dependencies referenced in the `package.json` file (the `install` is optional):
yarn add {{module_name}}@{{version}}
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):
