zerostack

(★ 1,588)

Lightweight coding agent written in Rust, optimized for memory footprint and performance

File Explorer

  • .gitignore
  • .gitmodules
  • AGENTS.md
  • ARCHITECTURE.md
  • Cargo.lock
  • Cargo.toml
  • CODE_OF_CONDUCT.md
  • default.nix
  • install.sh
  • justfile
  • LICENSE
  • README.md
  • release.nix
  • rust-toolchain.toml
  • SECURITY.md
  • shell.nix
  • tap

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

write

View Details ▼

Write data to memory.

write memory

Write current configuration to memory:

write {{username}} {{terminal_id}}

Send a message to a given user on a given terminal ID:

write {{username}} {{terminal_id}}

Send a message to a given user on a given terminal ID:

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

brew tap

View Details ▼

Tap a Homebrew formula repository. If no arguments are provided, list all installed Homebrew taps.

brew tap

List installed Homebrew taps:

brew tap {{github_username}}/{{github_repository_name}}

Tap a Git repository hosted on GitHub:

brew tap {{username}}/{{repository_name}} {{git_clone_url}}

Tap a Git repository hosted outside of GitHub:

🔍

brew

View Details ▼

Homebrew - a package manager for macOS and Linux.
Some subcommands such as `install` have their own usage documentation.

brew install {{formula|cask}}

Install the latest stable version of a formula or cask:

brew list

List all installed formulae and casks:

brew upgrade {{formula|cask}}

Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded):

🔍

cargo install

View Details ▼

Build and install a Rust binary.

cargo install {{package}}@{{version}}

Install a package from <https://crates.io> (the version is optional - latest by default):

cargo install --git {{repo_url}}

Install a package from the specified Git repository:

cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}

Build from the specified branch/tag/commit when installing from a Git repository:

🔍

gcloud

View Details ▼

The official CLI tool for Google Cloud Platform.
Some subcommands such as `app` and `init` have their own usage documentation.

gcloud config list

List all properties in one's active configuration:

gcloud auth login

Login to a Google account:

gcloud config set project {{project_name}}

Set the active project:

🔍

git mergetool

View Details ▼

Run merge conflict resolution tools to resolve merge conflicts.

git mergetool

Launch the default merge tool to resolve conflicts:

git mergetool --tool-help

List valid merge tools:

git mergetool {{[-t|--tool]}} {{tool_name}}

Launch the merge tool identified by a name:

🔍

nix profile

View Details ▼

Install, update, and remove packages from Nix profiles.

nix profile add {{nixpkgs#pkg1 nixpkgs#pkg2 ...}}

Install packages from nixpkgs into the default profile:

nix profile add {{github:owner/repo/pkg}} --profile {{path/to/directory}}

Install a package from a flake on GitHub into a custom profile:

nix profile list

List packages currently installed in the default profile:

🔍

apt install

View Details ▼

Install packages for Debian-based distributions.

sudo apt install {{package}}

Install a package, or update it to the latest version:

sudo apt install {{[-V|--verbose-versions]}} {{package}}

Display verbose package version information during installation or update:

🔍

bwrap

View Details ▼

Run programs in a lightweight sandbox.

bwrap --ro-bind / / {{/bin/bash}}

Run a program in a read-only environment:

bwrap --dev-bind /dev /dev --proc /proc --ro-bind / / --tmpfs /tmp {{/bin/bash}}

Give the environment access to devices, process information and create a `tmpfs` for it:

🔍

dnf install

View Details ▼

Install packages on Red Hat-based distributions.

sudo dnf {{[in|install]}} {{package1 package2 ...}}

Install packages by name:

sudo dnf {{[in|install]}} {{path/to/file}}

Install a package from a local file:

sudo dnf {{[in|install]}} {{https://example.com/package.rpm}}

Install a package from the internet:

🔍

pacman -S

View Details ▼

This command is an alias of `pacman --sync`.

tldr pacman sync

View documentation for the original command:

🔍

prompt

View Details ▼

Change the default DOS style prompt in a command window.

prompt

Reset the prompt to the default setting:

prompt {{prompt}}

Set a specific prompt:

prompt $D $P$G

Change the prompt to show the current date first:

// repository documentation