mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-11-04 05:01:23 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			146 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			146 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
set -ex
 | 
						|
 | 
						|
export NVM_DIR="$(cd ../.. && pwd)"
 | 
						|
 | 
						|
\. ../../nvm.sh
 | 
						|
 | 
						|
nvm alias test v0.1.2
 | 
						|
 | 
						|
[ "$(cat "$(nvm_alias_path)/test")" = "v0.1.2" ]
 |