Automic VaultAutomic Vault

brew

Install gravity with Homebrew, MacPorts

Embeddable programming language. Version 0.9.7 via Homebrew; verified 2026-04-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gravity

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gravity

MacPorts ports tree · lang/gravity/Portfile · source: api.github.com

overview

Package summary

Embeddable programming language

Commands and aliases

  • gravity

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:programming language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gravitycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.9.7
manager updated2026-04-14
local dataok
upstreamcurrent
latest detected0.9.7

https://github.com/marcobambini/gravity

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gravity
Version0.9.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gravity
Homepagehttps://www.gravity-lang.org/
Repositoryhttps://github.com/marcobambini/gravity
Upstream docshttps://www.gravity-lang.org/
LicenseMIT
Source archivehttps://github.com/marcobambini/gravity/archive/refs/tags/0.9.7.tar.gz
Last updated2026-04-14T22:07:19Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegravity
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts95%

gravity

sudo port install gravity
  • normalized package name match
  • Matched by: Gravity
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/gravity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment