Installation



hof is available for all major operating systems and architectures.

Git & Docker should be available but are also optional.

Installation


Current version: v0.6.8-rc.1


as a binary

curl -L "https://github.com/hofstadter-io/hof/releases/download/v0.6.8-rc.1/hof_0.6.8-rc.1_$(uname -s)_$(uname -m)" -o hof
chmod +x hof && sudo mv hof /usr/local/bin

from source

go install github.com/hofstadter-io/hof/cmd/hof@latest

with Homebrew

brew install hofstadter-io/tap/hof

Binary downloads, rename the file to hof and place it in your PATH.

These are the same links for the curl.


All Releases

Container Images

Testing hof

Run hof help in your terminal.

$ hof help

hof - the high code framework

  Learn more at https://docs.hofstadter.io

Usage:
  hof [flags] [command] [args]

Main commands:
  create                dynamic app blueprints from any git repo
  datamodel             manage, diff, and migrate your data models
  gen                   modular and composable code gen: CUE & data + templates = _
  flow                  run CUE pipelines with the hof/flow DAG engine
  fmt                   format any code and manage the formatters
  mod                   CUE dependency management based on Go mods
  chat                  co-create with AI (alpha)

Additional commands:
  help                  help about any command
  update                check for new versions and run self-updates
  version               print detailed version information
  completion            generate completion helpers for your terminal
  feedback              open an issue or discussion on GitHub

Flags:
  -h, --help             help for hof
      --inject-env       inject all ENV VARs as default tag vars
  -p, --package string   the Cue package context to use during execution
  -q, --quiet            turn off output and assume defaults at prompts
  -t, --tags strings     @tags() to be injected into CUE code
  -v, --verbosity int    set the verbosity of output

Use "hof [command] --help / -h" for more information about a command.

Updating hof

You can use the built-in update command to check and install any version.

# Check for an update
hof update --check

# Update to the latest version
hof update

# Install a specific version
hof update --version vX.Y.Z

with Homebrew

# Check for an update in brew
brew outdated hofstadter-io/tap/hof

# Update to the latest version in brew
brew upgrade hofstadter-io/tap/hof

# To get more info regarding hof package
brew info hofstadter-io/tap/hof
2023 Hofstadter, Inc