Comments (3)
@trajano Try just nvm
. This nvm's nvm use
command expects a version like nvm use xxx
. That's why.
from nvm.fish.
Just tested back in zsh land
with nvm it shows the command options
With nvm use
it is doing what I was expecting.
from nvm.fish.
@trajano If you want nvm
to install the node version defined in your closest .nvmrc file, you need an .nvmrc file.
From the docs:
You can create a .nvmrc file in the root of your project (or any parent directory) and run nvm to use the version in it. nvm will try to find the nearest .nvmrc file, traversing the directory tree from the current working directory upwards.
Try this: add an .nvmrc file in your current directory and run nvm
again:
echo 14.0.0 > .nvmrc
nvm
Just tested back in zsh land
This project is not related to nvm-sh/nvm.
from nvm.fish.
Related Issues (20)
- VSCode debug "can't find Node.js binary" HOT 4
- fish: Unknown command: node HOT 5
- support for man pages HOT 5
- Node is unavailable in new shells HOT 11
- nvim + nvm configuration HOT 5
- Doesn't get installed with fisher HOT 2
- `nvm alias` HOT 5
- download url wrong when `nvm_arch=x64-musl` HOT 2
- nvm install-latest-npm equivalent HOT 4
- Does not handle env variables at startup in VSCode environment (OSX) HOT 20
- install command can fail if run at the same time in multiple terminals HOT 7
- lsr(list-remote), install give me error and list(ls) give me nothing HOT 11
- getting error on line 225 in nvm.fish using fish shell v3.4 & 3.6 HOT 3
- Add nvm exec and nvm run commands HOT 10
- Need to reinstall node on session restart HOT 2
- macOS / brew: After "nvm use default", still node from brew is on path HOT 27
- nvm-exec script HOT 3
- .nvmrc regex too strict HOT 1
- $nvm_default_version not working HOT 2
- note to self - persist across shells
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvm.fish.