Skip to content

genericService/deploy-codex-crossplatform

Repository files navigation

Deploy Codex Cross-Platform

Installer script for provisioning Codex CLI dependencies and environment tweaks on Windows (PowerShell), with support for profile configuration and font setup.

Requirements

  • Windows 10 or later
  • PowerShell 5.1 or PowerShell 7+
  • Administrator privileges optional (required only for system-wide fonts/console defaults and some installs)

Quick Start

Run the installer directly from GitHub (PowerShell prompt):

iwr -UseBasicParsing https://raw.githubusercontent.com/Baphomet480/deploy-codex-crossplatform/main/install-codex.ps1 -OutFile install-codex.ps1
pwsh -File .\install-codex.ps1

The script modifies your PowerShell profile to enable completion helpers and may install fonts; review install-codex.ps1 before running if you need to audit changes. For a non-admin run, the script will skip system-wide console defaults and install fonts per-user.

Local Usage

  1. Clone the repository: git clone https://github.com/Baphomet480/deploy-codex-crossplatform.git
  2. Inspect or customize install-codex.ps1
  3. Execute locally: pwsh -File install-codex.ps1 (or powershell -File install-codex.ps1)

Options

install-codex.ps1:

  • -CacheRoot <path> sets the installer cache root.
  • -Minimal installs only required components (Codex, VC++ runtime, config) and skips optional tools (Git, GitHub CLI, nano, ripgrep, profile tweaks).

install-codex-only.ps1:

  • -Force forces reinstall even if the same version is already installed.
  • -IncludeGit installs Git (optional).
  • -IncludeGitHubCli installs GitHub CLI (optional).

Update-Codex.ps1:

  • Updates existing codex installation or installs it if missing.
  • Installs to $env:USERPROFILE\bin by default if not found in PATH.
  • Automatically adds install location to User PATH.

Contributing

Pull requests are welcome. Please open an issue to discuss significant changes before submitting a PR.

License

Distributed under the MIT License; see LICENSE if present or include one before publishing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors