mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 01:45:50 +08:00 
			
		
		
		
	Co-authored-by: Vesa Vilhonen <vesa@vilhonen.com> Co-authored-by: Sladyn Nunes <sladynnunes98@gmail.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			206 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| die () { echo "$@" ; exit 1; }
 | |
| 
 | |
| \. ../../../nvm.sh
 | |
| 
 | |
| nvm use 0.10
 | |
| 
 | |
| nvm exec stable -- node --help | grep 'Usage: node [options]' || die "Help menu should have been displayed for node and not nvm"
 |