#configuration-language #nu-shell-plugin #nu-shell #hcl #nu-plugin

app nu_plugin_hcl

A nushell plugin for parsing Hashicorp Configuration Language file format

18 breaking releases

0.110.0 Jan 21, 2026
0.109.1 Dec 3, 2025
0.108.0 Oct 18, 2025
0.106.0 Jul 27, 2025
0.83.0 Jul 26, 2023

#862 in Configuration

MIT and maybe CC-PDDC

19KB
180 lines

nu_plugin_hcl

This is a nushell plugin to parse Hashicorp Configuration Language files into nu structured types.

Installing

To add the plugin permanently, just install it and call register on it:

Using Cargo

cargo install nu_plugin_hcl
register ~/.cargo/bin/nu_plugin_hcl

Usage

open -r main.tf | from hcl | first 10
╭──────────┬──────────────────╮
 provider │ {record 1 field}
 resource │ {record 1 field}
╰──────────┴──────────────────╯

Dependencies

~27–61MB
~1M SLoC