You can either download official releases of xterm.js or arbitrary commits, which is not encouraged for production usage. All the production ready releases of xterm.js are available at https://github.com/sourcelair/xterm.js/releases.
Npm and Yarn
# Install with npm npm install --save xterm # Or alternatively, install with Yarn
All xterm.js releases are available as tar.gz and zip archives at https://github.com/sourcelair/xterm.js/releases, to download them manually.
Clone the Git repository
You can clone the xterm.js repository and checkout any arbitrary commit you would like to use.
We do not suggest doing this unless you are certain about your actions, as only official tagged releases of xterm.js are considered production-ready.
Also, make sure to manually install dependencies and build xterm.js after cloning.
git clone https://github.com/sourcelair/xterm.js cd xterm.js npm install npm run build
📣 ⛔️ No more Bower support
Importing in your application
Next, take a look at the different ways of importing xterm.js into your project.