Added Windows-friendly PowerShell commands for installing Bun and installing the job-search CLI dependencies. (#41)

Clarified Python and LaTeX prerequisites for Windows users.
Updated the document compilation steps so they work in both Bash and PowerShell
This commit is contained in:
mchorari
2026-07-07 06:27:51 +02:00
committed by GitHub
parent a0d576e0ca
commit b05fa05b4a
+33 -4
View File
@@ -22,14 +22,26 @@ Python 3.10+ is required for the salary lookup tool. Check with:
python --version python --version
``` ```
On Windows, `py --version` is often the most reliable check if `python` is not on your PATH.
### Bun (for job search tools) ### Bun (for job search tools)
The job portal CLIs (four Danish portals plus the country-agnostic LinkedIn tool) are written in TypeScript and run with Bun: The job portal CLIs (four Danish portals plus the country-agnostic LinkedIn tool) are written in TypeScript and run with Bun.
- macOS/Linux:
```bash ```bash
curl -fsSL https://bun.sh/install | bash curl -fsSL https://bun.sh/install | bash
``` ```
- Windows PowerShell:
```powershell
powershell -ExecutionPolicy Bypass -c "irm https://bun.sh/install.ps1 | iex"
```
If you prefer a package manager, `winget install Oven-sh.Bun` also works on Windows.
### LaTeX (for compiling CVs and cover letters) ### LaTeX (for compiling CVs and cover letters)
Install a LaTeX distribution to compile the generated `.tex` files to PDF: Install a LaTeX distribution to compile the generated `.tex` files to PDF:
@@ -50,7 +62,20 @@ cd ai-job-search
Or manually: fork on GitHub, then clone your fork. Or manually: fork on GitHub, then clone your fork.
## 3. Install job search CLI dependencies ## 3. Install job search CLI dependencies
Run these from the repository root.
- PowerShell:
```powershell
$tools = @("jobbank-search", "jobdanmark-search", "jobindex-search", "jobnet-search", "linkedin-search")
foreach ($tool in $tools) {
Set-Location ".agents/skills/$tool/cli"
bun install
Set-Location "..\..\..\.."
}
```
- Bash / zsh / Git Bash:
```bash ```bash
for tool in jobbank-search jobdanmark-search jobindex-search jobnet-search linkedin-search; do for tool in jobbank-search jobdanmark-search jobindex-search jobnet-search linkedin-search; do
cd .agents/skills/$tool/cli && bun install && cd ../../../.. cd .agents/skills/$tool/cli && bun install && cd ../../../..
@@ -147,13 +172,17 @@ Claude will:
After `/apply` creates the LaTeX files: After `/apply` creates the LaTeX files:
```bash ```bash
# Compile CV # Bash / zsh / Git Bash
cd cv && lualatex main_<company>.tex && cd .. cd cv && lualatex main_<company>.tex && cd ..
# Compile cover letter
cd cover_letters && xelatex cover_<company>_<role>.tex && cd .. cd cover_letters && xelatex cover_<company>_<role>.tex && cd ..
``` ```
```powershell
# PowerShell
Set-Location cv; lualatex main_<company>.tex; Set-Location ..
Set-Location cover_letters; xelatex cover_<company>_<role>.tex; Set-Location ..
```
These commands apply to the stock templates (moderncv CV, `cover.cls` cover letter). If you'd rather use your own LaTeX template, run `/add-template` — it captures the template's compile engine, fonts, style rules, and page limit, test-compiles it, and wires it into `/apply`. See the "LaTeX templates" section in the README. These commands apply to the stock templates (moderncv CV, `cover.cls` cover letter). If you'd rather use your own LaTeX template, run `/add-template` — it captures the template's compile engine, fonts, style rules, and page limit, test-compiles it, and wires it into `/apply`. See the "LaTeX templates" section in the README.
## Troubleshooting ## Troubleshooting