Installation



hof is available for all major operation systems and architectures.

git & docker should be available, but are also optional

Installation


Current version: v0.6.7


installation commands

// with homebrew
brew install hof


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


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

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

these are the same links for 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                bootstrap projects, components, and files 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                   polyglot dependency management based on go mods and MVS

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              send feedback, bug reports, or any message

Flags:
  -h, --help             help for hof
  -p, --package string   the Cue package context to use during execution
  -q, --quiet            turn off output and assume defaults at prompts
  -v, --verbosity int    set the verbosity of output

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

Updating hof

The builtin update command can be used 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
2022 Hofstadter, Inc