Hosanna Compiler and Tool Setup
Install the Hosanna compiler from public npm as
@tantawowa/hsc. It is free to
download and run without a license key or machine activation. The compiler
implementation remains proprietary and its source repository stays private.
The published 1.54.1 executable uses its bundled Hosanna Compiler Binary
License; the packaged LICENSE contains its usage terms. See
Licensing.
Hosanna UI supports Roku only. The browser emulator is a development and testing environment for the Roku application.
Tools version requirement
The HST integration below requires Tools 5.1.1 or newer, available from npm.
Tools 5.1.0 does not provide this npm compiler resolver. The native compiler
@tantawowa/hsc@1.54.1 is available independently. Reviewed local Tools builds
remain an option for testing unreleased changes.
Add the compiler to an application
From the application root, install the selected version as a development dependency:
npm install --save-dev --save-exact @tantawowa/hsc@1.54.1
npx hsc --version
Commit package.json and package-lock.json. They select the compiler, framework
and tools versions. Package version selection does not require hosanna.json.
Optional source-link overrides may still use it; for example, the game starter
adds hosanna-game through symlink-extra-folders.
The launcher installs the matching platform package through npm optional dependencies. Supported hosts are macOS and Linux with glibc, on x64 or arm64. Keep optional dependencies enabled. Alpine Linux and other musl-based hosts are not supported by these binaries.
After cloning the application, restore the same compiler with the other dependencies:
npm ci
npx hsc --version
npx hst doctor
npm ci installs the compiler automatically. There is no separate download or
activation step. The browser emulator does not execute hsc; Roku builds do.
Check and repair installation
Use Hosanna Tools 5.1.1 or newer from the project to inspect the compiler and other prerequisites:
npx hst doctor
npx hst compiler:status
If dependencies or SDK links are missing, run npx hst doctor --fix. Compiler
repair restores the version selected by the project's npm dependency and
lockfile. It does not select the newest release.
To select a different compiler version, use npm or the explicit HST command:
npx hst compiler:list
npx hst compiler:install 1.54.1
The versioned install updates the compiler development dependency and lockfile.
With no version argument, compiler:install repairs the project's selected
compiler. Review and commit manifest and lockfile changes together.
Build and diagnose
Use HST for application builds:
npx hst build roku dev device
Run the installed compiler directly when inspecting its options or a specific project:
npx hsc --help
npx hsc --project platforms/hsconfig-roku.json
The app and game starters supply npm run build:roku. The component-library
starter uses npm run package:roku. Use the scripts and compiler project paths
in your application's own manifest.
Framework and application configuration
The framework is a separate npm dependency, @tantawowa/hosanna-ui. After
installing dependencies, integrate its source links:
npx hst sdk:install
Package versions belong in package.json and the lockfile. Runtime presentation
belongs in AppConfig, environment values belong in build-config/, and run/build
selection belongs in HST configuration and the compiler's hsconfig files.
These are separate from dependency installation.
Migrate an older installation
Upgrade Tools to 5.1.1 or newer, add @tantawowa/hsc to
package.json, and update scripts that invoke bin/hsc to use hsc inside npm
scripts or npx hsc from a terminal. Remove compiler-key secrets and
license:activate or license:status steps from installation and CI.
hosanna.json remains optional for legacy settings and overrides. Move its
transpiler-version pin to the npm dependency, then remove that field: compiler
1.54.1 still checks a legacy pin if present. Remove the file if it has no other
settings; preserve any overrides still in use. AppConfig, build-config, HST and
hsconfig files remain separate.
Existing explicitly marked local compiler wrappers remain a compatibility path
for compiler contributors. The source repository's npm linking helper does not
switch HST away from its declared @tantawowa/hsc dependency. Contributors with access to the private compiler repository can follow the
local compiler linking instructions.
Normal application installation uses npm. For old framework
source directories, follow Framework installation with npm
and preserve local changes before running sdk:migrate --replace-existing.