git404hub

what is direnv-vscode fr?

direnv/direnv-vscode — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2024-12-04

250TypeScriptAudience · developerComplexity · 2/5StaleSetup · moderate

tl;dr

A VS Code extension that automatically loads per-project environment variables (from a .envrc file) into the editor's terminal, tasks, and settings.

vibe map

mindmap
  root((repo))
    What it does
      Loads envrc files
      Syncs env vars
      Works in terminal
      Works in tasks
    Tech stack
      TypeScript
      VS Code API
      direnv CLI
    Use cases
      Switch project configs
      Share team setup
      Manage API keys
      Match shell environment
    Audience
      Multi project devs
      Teams with envrc
      Direnv shell users
    Setup
      Requires direnv installed
      Approve envrc first
      Status indicator shown

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Automatically load the right Node, Python, or other runtime version when opening a project folder.

VIBE 2

Keep API keys and secrets available in VS Code without hardcoding them.

VIBE 3

Give a team a shared .envrc so everyone's editor environment matches automatically.

VIBE 4

Sync environment variables across VS Code's terminal, tasks, and variable substitutions.

what's the stack?

TypeScriptVS Code APIdirenv

how it stacks up fr

direnv/direnv-vscoderasoir0591/crosshair-xshinyatomitsuka/arbitrage-trading-bot
Stars250251251
LanguageTypeScriptTypeScriptTypeScript
Last pushed2024-12-04
MaintenanceStale
Setup difficultymoderateeasymoderate
Complexity2/51/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires direnv itself to be installed separately, outside the VS Code extension.

Not specified in the explanation.

prompts (copy fr)

prompt 1
Help me write a .envrc file for a Node.js project that sets NODE_ENV and loads a .env file.
prompt 2
Explain how to structure .envrc files for a monorepo with different environments per subfolder.
prompt 3
Write a .envrc that exports API keys from a local secrets file without committing them to git.
prompt 4
Show me how to approve and reload a .envrc file in VS Code using this extension's commands.
prompt 5
Debug why VS Code's terminal isn't picking up the environment variables from my .envrc file.

Frequently asked questions

what is direnv-vscode fr?

A VS Code extension that automatically loads per-project environment variables (from a .envrc file) into the editor's terminal, tasks, and settings.

What language is direnv-vscode written in?

Mainly TypeScript. The stack also includes TypeScript, VS Code API, direnv.

Is direnv-vscode actively maintained?

Stale — no commits in 1-2 years (last push 2024-12-04).

What license does direnv-vscode use?

Not specified in the explanation.

How hard is direnv-vscode to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is direnv-vscode for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.