mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-11-04 06:57:12 +00:00 
			
		
		
		
	Lovely text improvements from @ljharb
This commit is contained in:
		
							parent
							
								
									dba3404693
								
							
						
					
					
						commit
						bf89c7cde0
					
				@ -568,11 +568,13 @@ The contents of a `.nvmrc` file **must** be the `<version>` (as described by `nv
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### .node-version
 | 
					### .node-version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For a little compatability with other node version managers, nvm will also sniff for `.node-version` files. They're the same as `.nmvrc`, they just share a common name.
 | 
					For a little compatability with other node version managers, nvm will also sniff for `.node-version` files, defaulting to `.nvmrc` if both are found in the same folder.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
$ echo "5.9" > .node-version
 | 
					$ echo "5.9" > .node-version
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
They'll be loaded after `.nvmrc`, and can contain the same values as `.nvmrc`.
 | 
					Unlike `.nvmrc`, `.node-version` cannot contain a "versionish" (an alias, like `node`, `iojs`, or a custom alias you’ve defined). `.node-version` can only have versions in the format of v1, v1.2, or v1.2.3 (the `v` is optional).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Deeper Shell Integration
 | 
					### Deeper Shell Integration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user