Nix IDE installs statistics
By Noortheen · VS Code Marketplace · Programming Languages
Full Nix language support with/without external language servers
Nix IDE has 179,287 recorded installs on VS Code Marketplace, an increase of 1.5% over the past 30 days, ranking #1659 of 2,515 tracked listings.
Rating: 5.00 / 5 from 9 ratings
About Nix IDE
Nix ✨💡🌟
Adds Nix language support for Visual Studio Code.
Quickstart 🚀
- Install the extension, and open a Nix file.
- Syntax highlighting should work out of the box. Nix code blocks inside
markdownfiles are also supported. - Auto-formatting should work if
nixfmtis available in$PATH. A custom formatter can be set by configuringnix.formatterPath. - Syntax errors are linted using
nix-instantiate. - Full language support can be enabled by configuring a language server. See LSP Plugin Support for more information.
- Snippets are provided for conditional expressions,
let/withexpressions, andrecursive sets. - Path completion is supported using the Path Intellisense extension.
Settings ⚙️
LSP Plugin Support
Full language support can be enabled by using a language server. Generally, any Nix LSP implementation should work. Some examples are given below for nil and nixd.
{
"nix.enableLanguageServer": true,
"nix.serverPath": "nil", // or "nixd", or ["executable", "argument1", ...]
// LSP config can be passed via the ``nix.serverSettings.{lsp}`` as shown below.
"nix.serverSettings": {
// check https://github.com/oxalica/nil/blob/main/docs/configuration.md for all options available
"nil": {
// "diagnostics": {
// "ignored": ["unused_binding", "unused_with"],
// },
"formatting": {
"command": ["nixfmt"],
},
},
// check https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md for all nixd config
"nixd": {
"formatting": {
"command": ["nixfmt"],
},
"options": {
// By default, this entry will be read from `import <nixpkgs> { }`.
// You can write arbitrary Nix expressions here, to produce valid "options" declaration result.
// Tip: for flake-based configuration, utilize `builtins.getFlake`
"nixos": {
"expr": "(builtins.getFlake \"/absolute/path/to/flake\").nixosConfigurations.<name>.options",
},
"home-manager": {
"expr": "(builtins.getFlake \"/absolute/path/to/flake\").homeConfigurations.<name>.options",
},
// Tip: use ${workspaceFolder} variable to define path
"nix-darwin": {
"expr": "(builtins.getFlake \"${workspaceFolder}/path/to/flake\").darwinConfigurations.<name>.options",
},
},
}
}
}
<details>
<summary>Home Manager integrated as a NixOS module</summary>
When Home Manager is integrated into a NixOS configuration, its options are
stored under that configuration instead of homeConfigurations. Configure
the home-manager option set like this:
{
"nix.serverSettings": {
"nixd": {
"options": {
"home-manager": {
"expr": "(builtins.getFlake (builtins.toString ./.)).nixosConfigurations.<name>.options.home-manager.users.type.getSubOptions []",
},
},
},
},
}
Replace <name> with the key of the matching nixosConfigurations entry.
Custom Formatter
It can be changed by setting nix.formatterPath to any command which can accept file contents on stdin and return formatted text on stdout.
[!IMPORTANT] If you are using the above LSP plugin setting, then this configuration is not used.
{
"nix.formatterPath": "nixfmt" // or "alejandra"
// or pass full list of args like below
// "nix.formatterPath": ["treefmt", "--stdin", "{file}"]
}
Contributing 💪
We welcome contributions to this extension. Kindly start with any of open issues or feature requests.
See CONTRIBUTING.md for more information.
Credits
Special thanks to:
- @wmertens for writing the grammar.
- The vscode-fish extension, which was modified to work for Nix in this extension.
Description from the VS Code Marketplace listing.
- nix
- snippet
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Programming Languages plugins
All 20 Nix IDE alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=jnoortheen.nix-ide. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.