# Installer gjs avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gjs pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:gjs
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gjs
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gjs
```

  Preuve: MacPorts ports tree: gnome/gjs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add gjs
```

  Preuve: Alpine Linux edge package indexes: gjs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install gjs
```

  Preuve: Debian stable package indexes: gjs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install gjs
```

  Preuve: Fedora Rawhide package metadata: gjs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gjs
```

  Preuve: nixpkgs package indexes: pkgs/by-name/gj/gjs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S gjs
```

  Preuve: Arch Linux sync databases: gjs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install gjs
```

  Preuve: openSUSE Tumbleweed package metadata: gjs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:gjs
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.88.1
- **Résumé source:** JavaScript Bindings for GNOME
- **Page d'accueil:** <https://gitlab.gnome.org/GNOME/gjs/wikis/Home>
- **Dernière mise à jour:** 2026-06-29T04:06:11Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gjs (alias)
- gjs-console (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.88.1
## Historique du projet et usages

GJS is GNOME's JavaScript runtime, built on Firefox's SpiderMonkey engine and GNOME platform libraries. It lets JavaScript programs use GNOME APIs through GObject Introspection and provides the runtime used by GNOME Shell, extensions, and many GNOME applications.

### Historique du projet

The GJS README gives an unusually direct origin story: the idea traces to an August 2008 blog post and experimental gscript code, while the recognizable project form was developed in October 2008 at litl for the litl webbook.

GJS was soon adopted as the basis of GNOME Shell's user-interface code and extension system, and the README says it debuted as a fundamental component of GNOME 3.0. That made it a central runtime in the GNOME desktop rather than a standalone scripting curiosity.

In 2013, during the GNOME Developer Experience Hackfest, GJS was declared the first among equals for GNOME application development. The README records that this was controversial and later abandoned, but the episode shows how seriously GNOME considered JavaScript as an application language.

### Historique d'adoption

The GJS README names GNOME Shell, Maps, Characters, Sound Recorder, and many other apps as GJS users. It also notes use in Endless OS's offline-content framework and in Cinnamon through a forked version.

Package metadata in this batch shows GJS distributed through Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE. That breadth follows from its role as a GNOME platform component and language runtime.

### Modes d'utilisation

Practitioners use GJS to write JavaScript programs that call GNOME platform libraries. The README documents an interactive interpreter, whole-program execution with gjs filename.js, debugger support through -d in supported versions, and coverage-report facilities.

GJS is also used by extension authors and desktop developers because GNOME Shell and related applications expose platform behavior through JavaScript. The runtime bridges familiar JavaScript syntax with GTK, GLib, and other introspected GNOME libraries.

### Pourquoi les passionnés de paquets s'y intéressent

GJS matters to package people because it is both a language runtime and a desktop-platform dependency. Packaging it means coordinating SpiderMonkey, GObject Introspection, GNOME libraries, ABI expectations, and application consumers.

It also represents a major desktop choosing an embedded JavaScript runtime for core UI behavior. That makes GJS more like a platform runtime than a conventional command-line interpreter.

### Chronologie

- 2008: The GJS README traces the idea to an August blog post and experimental gscript code.
- 2008: GJS in recognizable form is developed at litl in October.
- 2011: GNOME 3.0 debuts with GNOME Shell, using GJS as a fundamental component.
- 2013: GJS is named first among equals for GNOME application development at a GNOME Developer Experience Hackfest.
- 2018: The README records GJS use in GNOME apps, Endless OS, and Cinnamon.

### Related projects

- SpiderMonkey is the JavaScript engine embedded by GJS.
- GObject Introspection is the binding mechanism that exposes GNOME libraries to JavaScript.
- GNOME Shell is the most prominent consumer of GJS.
- Cinnamon and Endless OS are named by the README as related adopters or downstream users.

### Sources

- <https://gitlab.gnome.org/GNOME/gjs>
- <https://gitlab.gnome.org/GNOME/gjs/-/raw/master/README.md>
- <https://gitlab.gnome.org/api/v4/projects/GNOME%2Fgjs/releases>
- <https://gjs-docs.gnome.org/gjs>
- <https://gjs.guide/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - gjs - 1.82.3-1: normalized package name match | Debian stable package indexes: gjs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mozilla-based javascript bindings for the GNOME platform (cli tool) | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- Debian apt - gjs-tests - 1.82.3-1: normalized package name match | Debian stable package indexes: gjs-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mozilla-based javascript bindings for the GNOME platform (tests) | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- Debian apt - libgjs-dev - 1.82.3-1: normalized package name match | Debian stable package indexes: libgjs-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mozilla-based javascript bindings for GNOME - development files | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- Debian apt - libgjs0g - 1.82.3-1: normalized package name match | Debian stable package indexes: libgjs0g from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Mozilla-based javascript bindings for the GNOME platform | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- Nix - gjs: normalized package name match | nixpkgs package indexes: pkgs/by-name/gj/gjs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gjs - 1.80.2-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gjs from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Mozilla-based javascript bindings for the GNOME platform (cli tool) | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- Ubuntu apt - gjs-tests - 1.80.2-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: gjs-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Mozilla-based javascript bindings for the GNOME platform (tests) | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- Ubuntu apt - libgjs-dev - 1.80.2-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgjs-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Mozilla-based javascript bindings for the GNOME platform | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- Ubuntu apt - libgjs0g - 1.80.2-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libgjs0g from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Mozilla-based javascript bindings for the GNOME platform | https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/README.md
- apk - gjs - 1.88.1-r0: normalized package name match | Alpine Linux edge package indexes: gjs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GNOME javascript library | https://gitlab.gnome.org/GNOME/gjs
- apk - gjs-dbg - 1.88.1-r0: normalized package name match | Alpine Linux edge package indexes: gjs-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GNOME javascript library (debug symbols) | https://gitlab.gnome.org/GNOME/gjs
- apk - gjs-dev - 1.88.1-r0: normalized package name match | Alpine Linux edge package indexes: gjs-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GNOME javascript library (development files) | https://gitlab.gnome.org/GNOME/gjs
- dnf - gjs - 1.89.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: gjs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Javascript Bindings for GNOME | https://wiki.gnome.org/Projects/Gjs
- dnf - gjs-devel - 1.89.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: gjs-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development package for gjs | https://wiki.gnome.org/Projects/Gjs
- dnf - gjs-tests - 1.89.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: gjs-tests from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tests for the gjs package | https://wiki.gnome.org/Projects/Gjs
- pacman - gjs - 2:1.88.1-1: normalized package name match | Arch Linux sync databases: gjs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Javascript Bindings for GNOME | https://gitlab.gnome.org/GNOME/gjs


## Combined YAML source

View the package source record on GitHub. [combined/gjs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gjs.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
