Skip to content

Latest commit

 

History

History
106 lines (72 loc) · 2 KB

File metadata and controls

106 lines (72 loc) · 2 KB

Installation

Prerequisites

  • Node.js 20.19.0 or higher — Check your version: node --version

Package Managers

npm

npm install -g @seanf-ai/openspecpowers@latest

One-Command Installer

If 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

pnpm add -g @seanf-ai/openspecpowers@latest

yarn

yarn global add @seanf-ai/openspecpowers@latest

bun

bun add -g @seanf-ai/openspecpowers@latest

Nix

Run OpenSpecPowers directly without installation:

nix run github:seanf-ai/OpenSpecPowers -- init

Or install to your profile:

nix profile install github:seanf-ai/OpenSpecPowers

Or 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 ];
    };
  };
}

Verify Installation

openspecpowers --version

Next Steps

After installing, initialize OpenSpecPowers in your project:

cd your-project
openspecpowers init

See Getting Started for a full walkthrough.

Share to Other Devices Before npm Publish

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