How to install qjs on Ubuntu
Small and embeddable JavaScript engine
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | amd64 | arm64 | Version |
|---|---|---|---|---|
| Ubuntu 26.04 (resolute) | Base | 0.12.0 | ||
| Ubuntu 24.04 (noble) | Base | 0.12.0 | ||
| Ubuntu 22.04 (jammy) | Base | 0.12.0 | ||
| Ubuntu 20.04 (focal) | Base | 0.12.0 | ||
| NGINX mainline | — | 0.12.0 |
Description
QuickJS-NG is an actively maintained fork of QuickJS. It supports the ES2023 specification, including modules, asynchronous generators, proxies, and BigInt. This package provides the qjs runtime and qjsc bytecode compiler.
Built for Ubuntu.
Install
Base
Ubuntu 20.04, 22.04, 24.04, 26.04
qjs on Ubuntu 20.04 (focal), 22.04 (jammy), 24.04 (noble), 26.04 (resolute)
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo apt-get update sudo apt-get install -y qjs
NGINX mainline
Ubuntu 20.04
qjs on Ubuntu 20.04 (focal)
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo getpagespeed-extras-channel mainline sudo apt-get update sudo apt-get install -y qjs
Package downloads require an active GetPageSpeed subscription — one repository for qjs and thousands more packages for Ubuntu.
Subscribe — from $10/moOther releases and channels: use the setup wizard.
Frequently asked questions
How do I install qjs on Ubuntu?
Add the GetPageSpeed repository, then install the qjs package with your system package manager.
Which Ubuntu versions is qjs available for?
qjs is available for Ubuntu 20.04, 22.04, 24.04, 26.04.