Release Notes
- fix: rename
--env-fileto--dotenv-file. The npm package runs the CLI binary through anodewrapper script, and Node has its own built-in--env-fileflag — so Node intercepted the flag before it reached the binary, failing withnode: .env: not foundfor a missing file.--env-filestill works as an alias for native installs.
Install posthog-cli 0.7.18
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PostHog/posthog/releases/download/posthog-cli/v0.7.18/posthog-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/PostHog/posthog/releases/download/posthog-cli/v0.7.18/posthog-cli-installer.ps1 | iex"Install prebuilt binaries into your npm project
npm install @posthog/cli@0.7.18Download posthog-cli 0.7.18
| File | Platform | Checksum |
|---|---|---|
| posthog-cli-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| posthog-cli-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| posthog-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| posthog-cli-aarch64-unknown-linux-gnu.tar.gz | ARM64 Linux | checksum |
| posthog-cli-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
| posthog-cli-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| posthog-cli-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |