How To Install Phantomjs?

How To Install Phantomjs?

phantomjs

minimalistic headless WebKit-based browser with JavaScript API

Maintainer: Dmitry Smirnov



Section: web

Install phantomjs

  • Debian apt-get install phantomjs Click to copy
  • Ubuntu apt-get install phantomjs Click to copy
  • Kali Linux apt-get install phantomjs Click to copy
  • Raspbian apt-get install phantomjs Click to copy

phantomjs

minimalistic headless WebKit-based browser with JavaScript API

PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. PhantomJS is an optimal solution for headless testing of web-based applications, site scraping, pages capture, SVG renderer, PDF converter and many other use cases.

Installation of latest phantomjs command is available for Debian, Ubuntu, Kali and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.