Skip to content

dr34m-cn/electron-term-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-term-demo

使用vue+electron+node-pty+xterm.js实现终端

推荐版本nodejs 14.X

需要满足node-pty使用依赖,摘录在最后

启动方式:

首次

npm install
npm run rebuild
npm run serve

之后

npm run serve

Dependencies

Node.JS 12+ or Electron 8+ is required to use node-pty.

Linux (apt)

sudo apt install -y make python build-essential

macOS

Xcode is needed to compile the sources, this can be installed from the App Store.

Windows

npm install requires some tools to be present in the system like Python and C++ compiler. Windows users can easily install them by running the following command in PowerShell as administrator. For more information see https://github.com/felixrieseberg/windows-build-tools:

npm install --global --production windows-build-tools

The following are also needed:

  • Windows SDK - only the "Desktop C++ Apps" components are needed to be installed

About

electron+node-pty+xterm.js+vue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published