# Installer gravity avec Homebrew, MacPorts

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

## installation

```sh
sudo av install brew:gravity
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gravity
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gravity
```

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

## Faits du paquet

- **Clé du paquet:** brew:gravity
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.9.7
- **Résumé source:** Embeddable programming language
- **Page d'accueil:** <https://www.gravity-lang.org/>
- **Dépôt:** <https://github.com/marcobambini/gravity>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- gravity (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

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

Gravity is an embeddable, dynamically typed programming language implemented in C. It is packaged as a command-line interpreter/runtime but is historically most important as a small VM designed to be embedded in applications.

### Historique du projet

The official README says Gravity was developed from scratch for the Creo project to provide portable code across iOS and Android. It combines a class-based, concurrent scripting model with Swift-like syntax and a small native runtime.

The project site presents Gravity as a small high-performance language with no external dependencies and a VM intended to add little overhead to an application. The GitHub release series records continuing maintenance of the interpreter and runtime.

### Historique d'adoption

Gravity's adoption is specialized rather than ecosystem-wide. The official README names Creo as a core embedding target and the Untold game engine as another use case.

In package-manager terms, Gravity appeals to developers who want a lightweight scripting language or a studyable bytecode VM without pulling in a large external runtime.

### Modes d'utilisation

Users can run the Gravity executable for scripts or embed the language in a C/C++ application. Its documented language model supports procedural, object-oriented, functional, data-driven, and prototype-style programming patterns.

The lack of external dependencies is part of the intended deployment story: package managers can build a small C runtime, while embedders can include the VM in an application.

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

Gravity is interesting to package nerds because it is a compact language runtime rather than a mainstream language ecosystem. It packages cleanly as a native executable while also serving as embeddable infrastructure.

It is also a useful comparison point with Lua, Wren, Squirrel, and other application scripting languages: the package is less about global ecosystem adoption and more about how easily a host application can carry a scripting VM.

### Chronologie

- 2013: Marco Bambini's site associates Gravity with work beginning in 2013.
- 2018: Public attention around the Gravity site and repository highlighted the embeddable VM design.
- 2020: The maintainer opened GitHub Discussions for project questions and community discussion.
- 2026: The GitHub release page records 0.9.x maintenance releases with runtime and compiler fixes.

### Related projects

- Creo: the official README describes Gravity as the core language built into Creo.
- Untold game engine: the official README names Gravity as its scripting language.
- Lua, Wren, and Squirrel are comparable embeddable scripting-language package niches, though they are separate projects.

### Sources

- <https://creolabs.com/gravity>
- <https://github.com/marcobambini/gravity>
- <https://github.com/marcobambini/gravity/releases>
- <https://www.gravity-lang.org/>


## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- generalized runtime or code generation signal

## Autres enregistrements de gestionnaires de paquets

- MacPorts - gravity: normalized package name match | MacPorts ports tree: lang/gravity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gravity.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gravity.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
