Socket
Book a DemoInstallSign in
Socket

xshell

Package Overview
Dependencies
Maintainers
1
Versions
392
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xshell

xshell is a shell designed to provide a brand new human-computer interaction experience.

latest
npmnpm
Version
1.2.89
Version published
Weekly downloads
1.5K
179.78%
Maintainers
1
Weekly downloads
 
Created
Source

xshell

xshell

xshell

npm version npm downloads vscode extension version vscode extension installs

xshell is a shell designed to provide a brand new human-computer interaction experience.

REPL.png

Getting Started

  • Install the latest version of NodeJS https://nodejs.org/en/

  • Enter a project directory that has a package.json file.

cd example/

or create a new project

mkdir example/
cd example/
npm init -y
  • Install the npm package xshell and you will get a xshell command
npm install xshell
npx xshell

# or call xshell directly
node ./node_modules/.bin/xshell

# or add `"xshell": "xshell",` in package.json scripts field, and
npm run xshell
  • Install the VSCode extenstion shenhongfei.xshell
code --install-extension shenhongfei.xshell
  • Open or create a .ts file and import necessary type definations, then enjoy!
import { request } from 'xshell'

// start REPL
await request('https://shenhongfei.com')

// select the above line and press Ctrl + Enter, then you can inspect the result in xshell.

Development

Change "main" field in package.json to extension.js before release extension.

Keywords

shell

FAQs

Package last updated on 15 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts