Skip to content

Commit 1a6cf1f

Browse files
committed
Add antigravity (ct)
1 parent e0867ef commit 1a6cf1f

3 files changed

Lines changed: 123 additions & 0 deletions

File tree

‎ct/antigravity.sh‎

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/usr/bin/env bash
2+
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
3+
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")
4+
# Copyright (c) 2021-2026 community-scripts ORG
5+
# Author: Chris Moriarty (cwmoriarty)
6+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
7+
# Source: https://antigravity.google/
8+
9+
APP="Antigravity"
10+
var_tags="${var_tags:-ai;development;cli}"
11+
var_cpu="${var_cpu:-2}"
12+
var_ram="${var_ram:-2048}"
13+
var_disk="${var_disk:-8}"
14+
var_os="${var_os:-debian}"
15+
var_version="${var_version:-13}"
16+
var_arm64="${var_arm64:-yes}"
17+
var_unprivileged="${var_unprivileged:-1}"
18+
19+
header_info "$APP"
20+
variables
21+
color
22+
catch_errors
23+
24+
function update_script() {
25+
header_info
26+
check_container_storage
27+
check_container_resources
28+
29+
if [[ ! -f /usr/local/bin/agy ]]; then
30+
msg_error "No ${APP} Installation Found!"
31+
exit 1
32+
fi
33+
34+
msg_info "Updating ${APP}"
35+
agy update || curl -fsSL https://antigravity.google/cli/install.sh | bash -s -- --dir /usr/local/bin
36+
msg_ok "Updated ${APP}"
37+
msg_ok "Updated successfully!"
38+
exit
39+
}
40+
41+
start
42+
build_container
43+
description
44+
45+
msg_ok "Completed successfully!\n"
46+
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
47+
echo -e "${INFO}${YW}Access container via console or SSH and run: ${BGN}agy${CL}"

‎install/antigravity-install.sh‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright (c) 2021-2026 community-scripts ORG
4+
# Author: Chris Moriarty (cwmoriarty)
5+
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
6+
# Source: https://antigravity.google/
7+
8+
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
9+
color
10+
verb_ip6
11+
catch_errors
12+
setting_up_container
13+
network_check
14+
update_os
15+
16+
msg_info "Installing Dependencies"
17+
$STD apt install -y \
18+
curl \
19+
sudo \
20+
git \
21+
jq \
22+
tar \
23+
ca-certificates
24+
msg_ok "Installed Dependencies"
25+
26+
msg_info "Installing Antigravity CLI"
27+
curl -fsSL https://antigravity.google/cli/install.sh | bash -s -- --dir /usr/local/bin
28+
msg_ok "Installed Antigravity CLI"
29+
30+
motd_ssh
31+
customize
32+
cleanup_lxc

‎json/antigravity.json‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "Antigravity",
3+
"slug": "antigravity",
4+
"categories": [
5+
20
6+
],
7+
"date_created": "2026-10-17",
8+
"type": "ct",
9+
"updateable": true,
10+
"privileged": false,
11+
"architectures": [
12+
"amd64",
13+
"arm64"
14+
],
15+
"interface_port": null,
16+
"documentation": "https://antigravity.google/docs",
17+
"website": "https://antigravity.google/",
18+
"repository": "https://antigravity.google/",
19+
"logo": "https://antigravity.google/assets/image/antigravity-logo.png",
20+
"description": "Antigravity is Google's agentic AI coding development platform and CLI (agy) for autonomous software engineering workflows.",
21+
"install_methods": [
22+
{
23+
"type": "default",
24+
"script": "ct/antigravity.sh",
25+
"resources": {
26+
"cpu": 2,
27+
"ram": 2048,
28+
"hdd": 8,
29+
"os": "Debian",
30+
"version": "13"
31+
}
32+
}
33+
],
34+
"default_credentials": {
35+
"username": null,
36+
"password": null
37+
},
38+
"notes": [
39+
{
40+
"text": "Antigravity is a terminal CLI tool. Access the container shell or connect via SSH and run 'agy' to initialize.",
41+
"type": "info"
42+
}
43+
]
44+
}

0 commit comments

Comments
 (0)