One-Command Setup
Use this when you want to clone blipcoard, install local tooling, build the
workspace, install blip and blipd, and start the user daemon service.
curl -fsSL https://raw.githubusercontent.com/blipcoard/blipcoard/develop/scripts/setup-dev.sh | bash
The script clones into ~/blipcoard by default. To choose another directory:
curl -fsSL https://raw.githubusercontent.com/blipcoard/blipcoard/develop/scripts/setup-dev.sh | bash -s -- --dir ~/src/blipcoard
If you only want the repo dependencies and builds without installing or starting the daemon:
curl -fsSL https://raw.githubusercontent.com/blipcoard/blipcoard/develop/scripts/setup-dev.sh | bash -s -- --no-runtime --no-service
What The Script Does
- Clones the repository if you are not already inside a checkout.
- Installs root, docs, desktop, and hosted web npm dependencies.
- Configures repository git hooks.
- Builds the Rust workspace.
- Builds the Docusaurus docs site and hosted web app.
- Installs
blipandblipdinto~/.local/bin. - Installs and starts the user daemon service on macOS or Linux.
Windows service startup is still unavailable until Windows daemon IPC lands. The script still handles dependency installation and workspace builds.
Run From An Existing Checkout
./scripts/setup-dev.sh
Or through npm:
npm run setup
Install With npm
CLI-only users can install the current stable package from npm:
npm install -g @cosentinode/blipcoard
Install the latest prerelease from develop with the next dist-tag:
npm install -g @cosentinode/blipcoard@next
Update an existing global install:
npm update -g @cosentinode/blipcoard
The npm package builds blip and blipd from source during install, so Rust and
Cargo must be available on PATH. Desktop bundles are still distributed
separately from the npm CLI package.
After Setup
Check the daemon and CLI:
blip service status
blip health
blip workspaces
Start the docs site locally:
npm run docs:start
Start the hosted web app locally:
npm run web:dev
If blip is not found, add ~/.local/bin to your shell path:
export PATH="$HOME/.local/bin:$PATH"