You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nodenv-default-packages automatically installs the packages listed in the [default-packages file(s)](#default-packages-files) file every time you successfully install a new version of Node with `nodenv install`.
51
53
52
54
Specify packages in `default-packages` by name, one per line.
53
-
You may optionally specify a semver version spec after the name. For example:
55
+
You may optionally specify a SemVer version spec after the name. For example:
54
56
55
-
grunt-cli
56
-
jshint ~2.6.3
57
-
csslint >= 0.9.0 < 0.10.0
57
+
```txt
58
+
grunt-cli
59
+
jshint ~2.6.3
60
+
csslint >= 0.9.0 < 0.10.0
61
+
```
58
62
59
-
Blank lines and lines beginning with a `#` are ignored.
63
+
Empty lines and lines beginning with a `#` are ignored.
60
64
61
65
### default-packages Files
62
66
@@ -67,11 +71,16 @@ The XDG config directories searched are `$XDG_CONFIG_HOME` (`$HOME/.config` if u
67
71
68
72
if you update your `$(nodenv root)/default-packages` and want to refresh some or all of your existing node installations you can use commands like this:
69
73
70
-
nodenv default-packages install 8.8.1 # Reinstall default packages on Node version 8.8.1
74
+
```sh
75
+
nodenv default-packages install 8.8.1 # Reinstall default packages on Node version 8.8.1
0 commit comments