A Git workflow CLI
Start. Save.
Finish.
Twigsmith helps you start branches, save progress, and deliver finished work for manual review or direct integration.
Use the same commands with editable settings for GitHub Flow, GitFlow, OneFlow, or lightweight trunk workflows. Customize branches, remotes, checks, and release policies for your repository.
Built for Git
01 / INSTALLATION
Install
Twigsmith.
Release 1.0.0
Four native archives and one npm installer package. Both twigsmith and tgi run the same executable.
Native archives · npm installer · Installation recovery
SHA-256 checksums
- twigsmith-1.0.0-aarch64-apple-darwin.tar.gz
aaf52a8e757f0390338e19699c47953338339a8e4e31aad464b79c2ecb0cf49a- twigsmith-1.0.0-aarch64-apple-darwin.manifest.json
51270fb51a0ade244c6aaac47cca62099891cd5d4febc23923bfa5a99e8314cd- twigsmith-1.0.0-aarch64-apple-darwin.sha256
ab77a13ba4ff773910fb6c5d8f7cfdf230f7a343577c36825cfef38ff58a1f6e- twigsmith-1.0.0-x86_64-apple-darwin.tar.gz
77e86af4a554db3b5d910076e160b097d0856ed66ea7b77a6c76691aa8c29dd5- twigsmith-1.0.0-x86_64-apple-darwin.manifest.json
5c17cddb477f6909183a56d8d1a0d31cfba0c1a4b5fbb07a537a3f50a7f0eac6- twigsmith-1.0.0-x86_64-apple-darwin.sha256
abf09fec3a7648e66ce8b139efe286d098059527dc0e1301188dd26f01869d0f- twigsmith-1.0.0-x86_64-pc-windows-msvc.zip
a161341d4a2fb1b163bbca8c5df076dfb5ccd297a70d7cbd0b4a6b839d580cd6- twigsmith-1.0.0-x86_64-pc-windows-msvc.manifest.json
f393d2da4b91a4e5559fc9f4c4c7f45f3dd6ad00ecb121340e0aed5eb1431612- twigsmith-1.0.0-x86_64-pc-windows-msvc.sha256
eac072fde894cfd0cd4af39062a02cd32574326ca767dd353904524e52819ec8- twigsmith-1.0.0-x86_64-unknown-linux-gnu.tar.gz
43a5b05676fac7c73cea8f73099d887fc5bc86da39f02cf84fec69fe1aeb60ae- twigsmith-1.0.0-x86_64-unknown-linux-gnu.manifest.json
8303832b157577fc59e2e256604b0d4819788e35978e5cc36d4f5ed85e5a7306- twigsmith-1.0.0-x86_64-unknown-linux-gnu.sha256
6dcf2d993e660e5e4c76f8622088e528d452ac8f33c2f5df72260e1ee5da60bc- twigsmith-1.0.0.tgz
68bae88d51ccbbaec611828d1b64e28ef6020360ca1c4cf9eab4e86fdb121654
Requirements
Choose the native archive for your system. Native commands need Git and the platform runtime; npm adds its Node.js requirements.
- macOS ARM64
- Bash, Zsh or Fish for launch and completion; Git-configured shell for editors and checks; Selected support target: macOS Sequoia 15 on ARM64 with Git 2.45+
npm: Node.js LTS and npm; selected support target: macOS Sequoia 15 on ARM64 with Git 2.45+ - macOS Intel
- Bash, Zsh or Fish for launch and completion; Git-configured shell for editors and checks; Selected support target: macOS Sequoia 15 on Intel x64 with Git 2.45+
npm: Node.js LTS and npm; selected support target: macOS Sequoia 15 on Intel x64 with Git 2.45+ - Windows x64
- Microsoft official x64 v14 Visual C++ Redistributable at least as recent as the build tools, for the dynamic MSVC runtime; PowerShell 7.6 for launch and completion; cmd and Git Bash for launch; Git-configured shell for editors and checks; Selected support target: maintained Windows 11 x64 releases with Git 2.45+
npm: Node.js LTS and npm; selected support target: maintained Windows 11 x64 releases with Git 2.45+ and Microsoft official x64 v14 Visual C++ Redistributable at least as recent as the build tools - Linux x64
- Bash, Zsh or Fish for launch and completion; POSIX sh for editors and checks; Linux x86_64 with glibc 2.35+ and Git 2.45+
npm: Node.js LTS and npm; Linux x86_64 with glibc 2.35+ and Git 2.45+
Requirements are frozen for this exact version. Windows/macOS archives are unsigned; host security settings may require approval. The manual explains runtime setup and observed qualification limits.
Native archives
No Rust or Node.js is needed to run the extracted commands. Keep each archive with its manifest and checksum file.
macOS ARM64 — aarch64-apple-darwin
Bash or Zsh:
Download the archive, manifest, checksums to the same directory, then verify and extract:
shasum -a 256 --check twigsmith-1.0.0-aarch64-apple-darwin.sha256
tar -xzf twigsmith-1.0.0-aarch64-apple-darwin.tar.gz
export PATH="$PWD/twigsmith-1.0.0-aarch64-apple-darwin:$PATH"
twigsmith --version
tgi --helpmacOS Intel — x86_64-apple-darwin
Bash or Zsh:
Download the archive, manifest, checksums to the same directory, then verify and extract:
shasum -a 256 --check twigsmith-1.0.0-x86_64-apple-darwin.sha256
tar -xzf twigsmith-1.0.0-x86_64-apple-darwin.tar.gz
export PATH="$PWD/twigsmith-1.0.0-x86_64-apple-darwin:$PATH"
twigsmith --version
tgi --helpWindows x64 — x86_64-pc-windows-msvc
PowerShell:
Download the archive, manifest, checksums to the same directory, then verify and extract:
if ((Get-FileHash "twigsmith-1.0.0-x86_64-pc-windows-msvc.zip" -Algorithm SHA256).Hash.ToLowerInvariant() -ne "a161341d4a2fb1b163bbca8c5df076dfb5ccd297a70d7cbd0b4a6b839d580cd6") { throw "Archive checksum mismatch" }
Expand-Archive "twigsmith-1.0.0-x86_64-pc-windows-msvc.zip" -DestinationPath .
$env:PATH = "$PWD\twigsmith-1.0.0-x86_64-pc-windows-msvc;" + $env:PATH
twigsmith --version
tgi --helpLinux x64 — x86_64-unknown-linux-gnu
Bash or Zsh:
Download the archive, manifest, checksums to the same directory, then verify and extract:
sha256sum --check twigsmith-1.0.0-x86_64-unknown-linux-gnu.sha256
tar -xzf twigsmith-1.0.0-x86_64-unknown-linux-gnu.tar.gz
export PATH="$PWD/twigsmith-1.0.0-x86_64-unknown-linux-gnu:$PATH"
twigsmith --version
tgi --helpOne npm installer
The package detects the host and downloads only its matching archive from the exact GitHub release, checking the archive and executable hashes before making it ready. It contains installer code and metadata, with no bundled native executable or platform npm dependencies.
Install globally
npm install --global twigsmith@1.0.0
twigsmith --version
tgi --helpRun with npx
npx --yes --package=twigsmith@1.0.0 -- twigsmith --version
npx --yes --package=twigsmith@1.0.0 -- tgi --helpScript policy and recovery
npm 12.2.1 blocks unapproved installation scripts by default. A successful npm install can therefore leave the executable missing. --ignore-scripts also skips installation. Approve the script with your npm client, or explicitly run the installer after acquiring the package:
After global installation:
twigsmith-installFrom a project with a local installation:
npm exec --offline --ignore-scripts -- twigsmith-installThe offline flag prevents npm package acquisition; the installer itself still downloads the native archive. Ordinary twigsmith and tgi commands never download a missing executable.
For npx, repair and run the same exact version from its cache:
npx --yes --ignore-scripts --package=twigsmith@1.0.0 -- twigsmith-install
npx --yes --offline --package=twigsmith@1.0.0 -- tgi --versionChoose a target explicitly
twigsmith-install --target aarch64-apple-darwin
twigsmith-install --target x86_64-apple-darwin
twigsmith-install --target x86_64-pc-windows-msvc
twigsmith-install --target x86_64-unknown-linux-gnuExplicit selection takes precedence over detection. It verifies the selected bytes and does not make a foreign executable compatible with this host. Run twigsmith-install without overrides to restore host detection.
Failed downloads retain the previous verified selection. Correct network or file permissions and retry the installer; it repairs damaged executables with newly verified bytes. Downloaded files belong to the installed package’s .native/ directory and are removed with that package or npx cache.
Downloads require HTTPS access to GitHub releases and asset delivery hosts. HTTPS_PROXY, HTTP_PROXY and NO_PROXY apply. Set NODE_EXTRA_CA_CERTS before starting npm or the installer for an organization CA. Restricted networks can use a separately verified native archive. Embedded hashes bind consistency to the npm package; they do not independently authenticate its publisher.
02 / GO DEEPER
Good tools leave
you in control.
Use ordinary Git commands for editing history, resolving conflicts, and submitting your work.