Hixumo Hive for VS Code
Change your development environment variables without leaving VS Code, and without ever seeing a secret on screen.
Hixumo Hive keeps your team's environment variables in one place. This extension puts your project's environments and key
names in VS Code's sidebar. From there you can set or remove a development value, and run your app so that it restarts by
itself when anyone on the team changes a value.
HIVE ⟳
▾ Shop / Website
▾ development ● this window saving from the terminal: on
API_URL
NEW_FLAG
SESSION_SECRET rotation rule: change only
+ Add key…
▸ staging saving from the terminal is off
▸ production protected: changed on the website only
▶ Run with watch: npm run dev
Status bar: Hive: development
Why use it
- No more
.env files passed around. Values come from Hive, where your team already keeps them.
- Secrets stay hidden. A value is never shown: not in the editor, a hover, a notification, the output panel, settings
or logs. You type a new value in a password box.
- Your app picks up changes by itself. With Run with watch, when a teammate changes a value, your dev server
restarts with the new one within seconds.
- Production stays safe. Protected environments can only be changed on the Hive website, never from VS Code.
- Every change can be undone. Each save is recorded in the project's History on the Hive website, and one click on
Undo puts it back.
Get started in 3 steps
Install the Hive CLI and sign in (once per computer):
npm i -g @hixumo/hive
hive login
hive login opens your browser to approve this computer. No Hive account yet? Create one at
hive.hixumo.com.
Link your project folder (once per project): open the folder in VS Code, then click Link this folder in the
Hive view, or run hive link in its terminal. This writes a small .hive.json with no secret in it, so you can commit
it.
Turn on "Saving from the terminal" for your development environment: an Owner or Admin does this on the Hive
website, in the project's Machine access tab. It is off until then, so nobody changes values from an editor by
surprise.
Then click the Hive icon in the activity bar.
What you can do
| In the Hive view |
What happens |
| Set value… on a key |
Type the new value in a password box, then confirm "Save API_URL in development of Website (Shop)?". Escape cancels. |
| Set from file… |
For a value of several lines, such as a certificate or a private key. |
| + Add key… |
Name it in UPPER_CASE, then type its value. |
| Unset |
Removes the key after you confirm. Keys with a rotation rule, an expiry date or a reminder are removed on the website only. |
| Run with watch |
Runs your dev command (your dev script is suggested) in a VS Code terminal. It restarts when a value changes. |
| Status bar |
Shows the environment for this window. Click it to switch: the choice is for this window only. |
| Undo in History |
Shown after every save. Opens the change on the Hive website, where Undo puts it back. |
An environment you cannot change from VS Code is still listed, with the reason and, where it helps, Open in Hive.
Safe by design
- Your own CLI, your own sign-in. Everything goes through the
hive CLI you installed. The extension keeps no token
and talks to no server itself.
- It saves exactly where it says. Every save names the project and environment by id. If your folder was relinked or
the environment renamed in the meantime, nothing is saved.
- A repository cannot make it run something else. It uses the
hive found in the absolute folders of your PATH
(or the path in your user setting hive.cliPath), never one inside a project, never npx, and never through a shell.
In a folder you have not trusted (Restricted Mode), it runs nothing.
- A value never goes in a command. It goes to the CLI's standard input only.
- No telemetry, and nothing in the background. It asks Hive only when you open the view, press ⟳, save, switch
environment, or come back to the view after 2 minutes. An idle VS Code asks nothing.
Works where you work
- VS Code on macOS, Linux and Windows.
- Cursor, Windsurf, VSCodium and other VS Code–based editors, from Open VSX.
- Remote: SSH, WSL, Dev Containers and Codespaces. The extension runs where your files are, with the
hive CLI
installed and signed in there (hive login --no-browser prints the address to open).
Settings
| Setting |
What it does |
hive.cliPath |
The absolute path of the hive CLI, if it is not on your PATH. Set it in your user settings; a project's own settings cannot change it. |
Questions
It says "Update the Hive CLI". Run npm i -g @hixumo/hive again; the extension needs version 0.1.0 or later.
An environment shows no keys. Its reason is shown next to it: protected, "Saving from the terminal" off, or you can
only read it. Use Open in Hive to change that on the website.
A save asks me to "Set in a terminal". Some changes ask you to confirm it is you in the browser. The extension opens a
terminal with the right hive set command; type the value there and approve in the browser.
Does my app keep its own NODE_OPTIONS under Run with watch? No. The extension removes NODE_OPTIONS and
NODE_PATH, so a project cannot slip code into the signed-in CLI. Put such options in your dev script instead.
Links
Privacy
No telemetry. No network call of its own. The Hive output panel shows the CLI commands it ran and their results,
never a value.
| |