New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fnva

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fnva

跨平台环境切换工具,支持 Java 和 LLM 环境配置

latest
Source
npmnpm
Version
0.0.42
Version published
Maintainers
1
Created
Source

fnva - Fast Environment Version Alter

npm version crates.io License: MIT

中文文档 · Full English · Docs

Cross-platform environment switcher for Java, Claude Code (CC), and LLM setups. Rust single binary with fast startup and zero runtime dependencies.

Install

  • npm: npm install -g fnva
  • Cargo: cargo install fnva
  • Binary: download from Releases and add to PATH.

Quick start

  • Init shell (Bash/Zsh): eval "$(fnva env env --shell bash)"
    PowerShell: fnva env env --shell powershell | Out-String | Invoke-Expression
  • Scan Java: fnva java scan
  • Switch Java for current session: eval "$(fnva java use jdk-17)"
  • Switch CC profile: eval "$(fnva cc use glmcc)"

What it does

  • Manages multiple Java, CC, and generic LLM configurations.
  • Generates shell snippets to activate environments per session or by default.
  • Stores config at ~/.fnva/config.toml (Windows: %USERPROFILE%\.fnva\config.toml).
  • Ships as a single binary; no background daemon.

Build/test locally

cargo fmt && cargo clippy --all-targets -- -D warnings
cargo test
cargo build --release

For platform bundles: npm run build:platforms

Keywords

environment

FAQs

Package last updated on 23 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts