Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`envmn` is a lightweight command-line utility for managing complex `.env` files.
It helps you lint, format, and switch between environment blocks — like `dev` and `prod` — safely and predictably.

> **Note:** `envmn` currently supports **Linux** only.
> **Note:** `envmn` currently supports **Linux** and **Windows**.
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot i added a windows gcc x64 exe release. what's is missing is updating the readme to also include its instllation steps. can you update the read for me.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added Windows-specific installation steps in commit fc096e1. The Installation section now has separate Linux and Windows sub-sections. The Windows steps reference the envmn_windows-gnu_x64.exe binary from the release and include instructions for renaming it and adding it to PATH via the Environment Variables dialog.


---

Expand All @@ -19,18 +19,31 @@ It helps you lint, format, and switch between environment blocks — like `dev`

## Installation

Download the latest binary from the [**Releases** page](https://github.com/devark28/envmn/releases/latest).
Then make it executable and move it into your `$PATH`:
Download the latest binary for your platform from the [**Releases** page](https://github.com/devark28/envmn/releases/latest).

### Linux

```bash
# https://github.com/devark28/envmn/releases/latest and download an envmn binary
# unzip the binary
mv envmn_x64 envmn
mv envmn_linux_x64 envmn
chmod +x envmn
sudo mv envmn /usr/local/bin/
```

Verify the installation:
### Windows

1. Download `envmn_windows-gnu_x64.exe` from the [**Releases** page](https://github.com/devark28/envmn/releases/latest).
2. Rename it to `envmn.exe` (optional, for convenience).
3. Add its location to your `PATH` environment variable:
- Open **System Properties** → **Environment Variables**.
- Under **System variables**, select `Path` and click **Edit**.
- Add the folder where you placed `envmn.exe`.
4. Open a new Command Prompt or PowerShell window and verify:

```powershell
envmn version
```

### Verify (Linux)

```bash
envmn version
Expand Down
Loading