The new home of the Stacks CLI for Ensono Stacks.
A powerful project scaffolding tool that generates complete application templates with infrastructure, pipelines, and supporting files. Supports multiple frameworks (dotnet, java, nx) and cloud platforms (Azure, AWS).
Download the latest release from the GitHub Releases page.
curl -L -o stacks-cli https://github.com/Ensono/stacks-cli/releases/latest/download/stacks-cli-linux-amd64-$(curl -s https://api.github.com/repos/Ensono/stacks-cli/releases/latest | grep '"tag_name"' | cut -d '"' -f 4 | sed 's/^v//')
chmod +x stacks-cli
sudo mv stacks-cli /usr/local/bin/
stacks-cli versioncurl -L -o stacks-cli https://github.com/Ensono/stacks-cli/releases/latest/download/stacks-cli-darwin-amd64-$(curl -s https://api.github.com/repos/Ensono/stacks-cli/releases/latest | grep '"tag_name"' | cut -d '"' -f 4 | sed 's/^v//')
chmod +x stacks-cli
sudo mv stacks-cli /usr/local/bin/
stacks-cli versioncurl -L -o stacks-cli https://github.com/Ensono/stacks-cli/releases/latest/download/stacks-cli-darwin-arm64-$(curl -s https://api.github.com/repos/Ensono/stacks-cli/releases/latest | grep '"tag_name"' | cut -d '"' -f 4 | sed 's/^v//')
chmod +x stacks-cli
sudo mv stacks-cli /usr/local/bin/
stacks-cli versionPowerShell (Recommended)
$version = (Invoke-RestMethod -Uri "https://api.github.com/repos/Ensono/stacks-cli/releases/latest").tag_name -replace '^v', ''
$url = "https://github.com/Ensono/stacks-cli/releases/latest/download/stacks-cli-windows-amd64-$version.exe"
Invoke-WebRequest -Uri $url -OutFile "stacks-cli.exe"
$userBin = "$env:USERPROFILE\bin"
if (!(Test-Path $userBin)) { New-Item -Path $userBin -ItemType Directory }
Move-Item "stacks-cli.exe" "$userBin\stacks-cli.exe"
$env:PATH = "$userBin;$env:PATH"
stacks-cli version- Download
stacks-cli-windows-amd64-{version}.exefrom the releases page - Rename the file to
stacks-cli.exe - Add the executable to your PATH or place it in a directory that's already in your PATH
- Open a new command prompt or PowerShell window and verify:
stacks-cli version
To install a specific version, replace {version} with the desired version number (e.g., 0.4.53):
- Linux:
stacks-cli-linux-amd64-{version} - macOS Intel:
stacks-cli-darwin-amd64-{version} - macOS Apple Silicon:
stacks-cli-darwin-arm64-{version} - Windows:
stacks-cli-windows-amd64-{version}.exe
stacks-cli interactive
stacks-cli scaffold --name my-project --framework dotnet --cloud azure
stacks-cli --helpDocumentation is stored with the code in Asciidoc format. It is in the docs/ directory of the repository.
Each time a build is run a PDF file is generated as well as a set of Markdown files.
It is possible to run the documentation locally using Hugo in Docker. Due to the minimal support for Asciidoc in Hugo, a custom image has been built to run the website. Run the following command to run a local web server of the documentation.
docker run --rm -it -v ${PWD}/docs:/hugo-project/content/docs -v ${PWD}:/repo -p 1313:1313 russellseymour/hugo-docker