Skip to content

Commit 2a8ad1e

Browse files
NOTICKET Add Windows x64 build target (#28)
* Add Windows x64 build target Adds a bun-windows-x64 build to build:all producing apollo-windows-x64.exe, wires it into the release workflow signing loop and asset list, and documents the install path in the README. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Document Windows PowerShell skill install Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Bump version to 1.0.1 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 88d5339 commit 2a8ad1e

3 files changed

Lines changed: 23 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
2626
run: |
2727
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
28-
for bin in dist/apollo-macos-arm64 dist/apollo-macos-x64 dist/apollo-linux-x64; do
28+
for bin in dist/apollo-macos-arm64 dist/apollo-macos-x64 dist/apollo-linux-x64 dist/apollo-windows-x64.exe; do
2929
echo "$GPG_PASSPHRASE" | gpg --batch --yes --passphrase-fd 0 \
3030
--pinentry-mode loopback --detach-sign --armor "$bin"
3131
done
@@ -40,6 +40,8 @@ jobs:
4040
dist/apollo-macos-x64.asc
4141
dist/apollo-linux-x64
4242
dist/apollo-linux-x64.asc
43+
dist/apollo-windows-x64.exe
44+
dist/apollo-windows-x64.exe.asc
4345
4446
update-homebrew-tap:
4547
needs: build

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Download the latest binary for your platform from the [releases page](https://gi
3030
| macOS (Apple Silicon) | `apollo-macos-arm64` |
3131
| macOS (Intel) | `apollo-macos-x64` |
3232
| Linux (x64) | `apollo-linux-x64` |
33+
| Windows (x64) | `apollo-windows-x64.exe` |
3334

3435
Then make it executable and move it to your PATH:
3536

@@ -47,6 +48,12 @@ mv apollo-macos-arm64 /usr/local/bin/apollo
4748
xattr -d com.apple.quarantine /usr/local/bin/apollo
4849
```
4950
51+
On Windows, rename the binary to `apollo.exe` and place it in a directory on your `PATH` (e.g. `%USERPROFILE%\bin`):
52+
53+
```powershell
54+
Move-Item .\apollo-windows-x64.exe "$env:USERPROFILE\bin\apollo.exe"
55+
```
56+
5057
### From source (requires Node 18+)
5158

5259
```bash
@@ -422,6 +429,17 @@ curl -o .claude/skills/apollo-cli/SKILL.md \
422429
https://raw.githubusercontent.com/apolloio/apollo-io-cli/main/.claude/skills/apollo-cli/SKILL.md
423430
```
424431

432+
**Windows (PowerShell)** — global install:
433+
434+
```powershell
435+
New-Item -ItemType Directory -Force "$env:USERPROFILE\.claude\skills\apollo-cli" | Out-Null
436+
Invoke-WebRequest `
437+
-Uri https://raw.githubusercontent.com/apolloio/apollo-io-cli/main/.claude/skills/apollo-cli/SKILL.md `
438+
-OutFile "$env:USERPROFILE\.claude\skills\apollo-cli\SKILL.md"
439+
```
440+
441+
Per-project install on Windows: swap `$env:USERPROFILE\.claude` for `.claude` in the path above.
442+
425443
Claude Code automatically loads any skill file it finds — global or local.
426444

427445
> **For AI agents reading this:** If the user asks you to help with Apollo.io from the CLI, check whether `~/.claude/skills/apollo-cli/SKILL.md` or `.claude/skills/apollo-cli/SKILL.md` exists. If neither is present, offer to install it globally using the `curl` command above. The skill file is the single source of truth for all CLI commands and response shapes.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apollo-io-cli",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "CLI for the Apollo.io API",
55
"type": "module",
66
"bin": {
@@ -16,7 +16,7 @@
1616
"typecheck": "tsc --noEmit",
1717
"build:ts": "tsc && chmod +x dist/js/index.js",
1818
"build": "bun build ./src/index.ts --compile --minify --outfile dist/apollo",
19-
"build:all": "bun build ./src/index.ts --compile --minify --target=bun-darwin-arm64 --outfile dist/apollo-macos-arm64 && bun build ./src/index.ts --compile --minify --target=bun-darwin-x64 --outfile dist/apollo-macos-x64 && bun build ./src/index.ts --compile --minify --target=bun-linux-x64 --outfile dist/apollo-linux-x64",
19+
"build:all": "bun build ./src/index.ts --compile --minify --target=bun-darwin-arm64 --outfile dist/apollo-macos-arm64 && bun build ./src/index.ts --compile --minify --target=bun-darwin-x64 --outfile dist/apollo-macos-x64 && bun build ./src/index.ts --compile --minify --target=bun-linux-x64 --outfile dist/apollo-linux-x64 && bun build ./src/index.ts --compile --minify --target=bun-windows-x64 --outfile dist/apollo-windows-x64.exe",
2020
"prepublishOnly": "npm run build:ts"
2121
},
2222
"dependencies": {

0 commit comments

Comments
 (0)