EnvGuard Pro / Installation
● Step-by-step

Install EnvGuard Pro.
From a package tarball.

EnvGuard Pro is distributed as a .tgz package you install into your project. This page includes copy-paste commands and a quick verification checklist.

Install from a tarball (.tgz)

Use this when EnvGuard Pro is provided as a downloadable archive from a private GitHub repository.

1

Obtain the package

Download the .tgz archive from the private repository (requires access).

2

Place it in libs/

Keep the archive in your project so installs are reproducible (and work offline).

3

Install via npm

Point npm at the local archive to add it to node_modules.

Tip: npm tarballs commonly use the .tgz extension (still a .tar.gz under the hood).

Example layout and commands (adjust the filename/version you received):

Project structure Folder layout
your-project/
├── libs/
│   └── path/to/file.tgz
├── src/
├── package.json
└── …
Install
$ npm install ./libs/path/to/file.tgz

Verify the install

Run these commands from your project root. If your setup exposes envguard instead of envguard-pro, the commands are interchangeable.

  • Version
    Run npx envguard-pro --version (or npx envguard --version).
  • Help output
    Confirm the CLI responds with --help.
terminal
$ npx envguard-pro --version $ npx envguard-pro --help # (If your setup exposes 'envguard' instead) # $ npx envguard --version # $ npx envguard --help

Troubleshooting

Common install issues and quick fixes.

🧰

Command not found

Use npx envguard-pro (or npx envguard) from your project root, or add an npm script, instead of calling a global binary.

🧩

Permissions / EACCES

Make sure your project directory is user-writable and avoid running npm with elevated permissions.

🧪

Node version mismatch

Upgrade Node.js to a modern LTS if you see syntax or runtime errors during install or execution.