-
-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Side note: Linearis is awesome!
Just wanted to say: this tool is really nice to use--super practical for LLM/automation workflows.
Love you guys for building and maintaining this, linearis already lives in my Antigravity scaffolding ❤️
What happened
When installing from the GitHub repo using Bun, the installed package lacks the dist/ directory, even though the package.json declares the binary as:
{
"bin": {
"linearis": "dist/main.js"
}
}Because dist/main.js does not exist, Bun does not create the executable symlink in ~/.bun/bin.
However, installing from npm (bun install -g linearis@latest) works correctly — dist/ is present and ~/.bun/bin/linearis appears as expected.
Expected behavior
Running either of the following should install a working CLI binary:
bun install -g czottmann/linearis
# or
bun install -g --install-links czottmann/linearisAfter installation:
linearis --helpshould execute successfully.
Steps to reproduce
bun --version→1.3.5bun install -g --install-links czottmann/linearis- Inspect installation:
ls -la ~/.bun/bin | grep linearis # no symlink created ls -la ~/.bun/install/global/node_modules/linearis # has src/ but no dist/
- Compare working version:
bun install -g linearis@latest ls -la ~/.bun/install/global/node_modules/linearis/dist # dist/ present linearis --help # works fine
Notes
It appears that installing directly from GitHub fetches the raw repository, not the prebuilt npm package.
If the build step relies on a prepare or postinstall script to generate dist/, Bun may skip it unless the dependency is marked as trusted.
This results in an incomplete installation and no global CLI link.
Workarounds
- Use published npm package:
bun install -g linearis@latest
- Or fall back to:
bunx linearis ...
Environment
- OS:
Ubuntu 24(WSL2) - Bun version:
1.3.5 - Node version (if applicable):
v20.19.5 - Linearis version (GitHub or npm):
2025.12.3
Additional context
bun install -g czottmann/linearis log output:
$ bun install -g --install-links czottmann/linearis
bun add v1.3.5 (1e86cebd)
installed linearis@github:czottmann/linearis#3b3ccd1 with binaries:
- linearis
[39.00ms] done
warn: To run "linearis", add the global bin folder to $PATH:
export PATH="/home/j2h4u/.bun/bin:$PATH"