You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(offline): address review round 5 + offline bundle ZIP
- fix(offline): pwsh-only, no powershell.exe fallback; clarify error message
- fix(offline): tighten _has_bundled to check scripts dir for source checkouts
- feat(release): build specify-bundle-v*.zip with all deps at release time
- feat(release): attach offline bundle ZIP to GitHub release assets
- docs: simplify air-gapped install to single ZIP download from releases
- docs: add Windows PowerShell 7+ (pwsh) requirement note
If your environment blocks PyPI access, download the pre-built `specify_cli-*.whl` wheel from the [releases page](https://github.com/github/spec-kit/releases/latest) and install it directly:
101
+
Download `specify-bundle-v*.zip`from the [releases page](https://github.com/github/spec-kit/releases/latest)— it contains the CLI wheel and all dependencies in one file (~2.5 MB):
102
102
103
103
```bash
104
-
pip install specify_cli-*.whl
105
-
specify init my-project --ai claude --offline # runs without contacting api.github.com
The wheel bundles all templates, commands, and scripts, so `specify init` can run without any network access after install when you pass `--offline`. See the [Enterprise / Air-Gapped Installation](./docs/installation.md#enterprise--air-gapped-installation)section for fully offline (no-PyPI) instructions.
109
+
See the [full air-gapped guide](./docs/installation.md#enterprise--air-gapped-installation) for details.
Copy file name to clipboardExpand all lines: docs/installation.md
+12-30Lines changed: 12 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,48 +77,30 @@ The `.specify/scripts` directory will contain both `.sh` and `.ps1` scripts.
77
77
78
78
### Enterprise / Air-Gapped Installation
79
79
80
-
If your environment blocks access to PyPI (you see 403 errors when running `uv tool install`or `pip install`), you can install Specify using the pre-built wheel from the GitHub releases page.
80
+
For environments with no access to PyPI or GitHub, download the pre-built offline bundle from the [releases page](https://github.com/github/spec-kit/releases/latest).
81
81
82
-
**Step 1: Download the wheel**
82
+
**On a connected machine:**
83
83
84
-
Go to the [Spec Kit releases page](https://github.com/github/spec-kit/releases/latest) and download the `specify_cli-*.whl` file.
84
+
Download `specify-bundle-v*.zip` from the [Spec Kit releases page](https://github.com/github/spec-kit/releases/latest). This single ZIP contains the specify-cli wheel and all its runtime dependencies (~2.5 MB).
85
85
86
-
**Step 2: Install the wheel**
86
+
**On the air-gapped machine:**
87
87
88
88
```bash
89
-
pip install specify_cli-*.whl
90
-
```
89
+
# Unzip the bundle
90
+
unzip specify-bundle-v*.zip
91
91
92
-
**Step 3: Initialize a project (no network required)**
The `--offline` flag tells the CLI to use the templates, commands, and scripts bundled inside the wheel instead of downloading from GitHub — no connection to `api.github.com` needed.
99
+
The `--offline` flag tells the CLI to use the templates, commands, and scripts bundled inside the wheel instead of downloading from GitHub.
99
100
100
-
**If you also need runtime dependencies offline** (fully air-gapped machines with no access to any PyPI), use a connected machine with the same OS and Python version to download them first:
101
-
102
-
```bash
103
-
# On a connected machine (same OS and Python version as the target):
104
-
pip download -d vendor specify_cli-*.whl
105
-
106
-
# Transfer the wheel and vendor/ directory to the target machine
0 commit comments