- Node.js 20.19.0 or higher — Check your version:
node --version
npm install -g @seanf-ai/openspecpowers@latestIf this repository is hosted on GitHub, users can install with one command:
curl -fsSL https://raw.githubusercontent.com/seanf-ai/OpenSpecPowers/main/scripts/install-openspowers.sh | bash -s -- --prefix "$HOME/.local"Optional project bootstrap in the same command:
curl -fsSL https://raw.githubusercontent.com/seanf-ai/OpenSpecPowers/main/scripts/install-openspowers.sh | bash -s -- --prefix "$HOME/.local" --init "$PWD"pnpm add -g @seanf-ai/openspecpowers@latestyarn global add @seanf-ai/openspecpowers@latestbun add -g @seanf-ai/openspecpowers@latestRun OpenSpecPowers directly without installation:
nix run github:seanf-ai/OpenSpecPowers -- initOr install to your profile:
nix profile install github:seanf-ai/OpenSpecPowersOr add to your development environment in flake.nix:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
openspecpowers.url = "github:seanf-ai/OpenSpecPowers";
};
outputs = { nixpkgs, openspecpowers, ... }: {
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell {
buildInputs = [ openspecpowers.packages.x86_64-linux.default ];
};
};
}openspecpowers --versionAfter installing, initialize OpenSpecPowers in your project:
cd your-project
openspecpowers initSee Getting Started for a full walkthrough.
If you have not published to npm yet, distribute a tarball:
# On source machine
cd OpenSpecPowers
npm pack
# Copy the generated *.tgz to target machine, then install:
npm install -g ./fission-ai-openspecpowers-<version>.tgz