Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 918 Bytes

File metadata and controls

61 lines (41 loc) · 918 Bytes

Knowledge-base

homebrew

brew install nodenv nodenv allows you to manage node versions per project by using .node-version file that list the version to use

# example located at
~/.node-version

To install a new version of node that you have listed in the file go to the directory that has the file and run the following command in the terminal

nodenv install $(cat .node-version)

Terminal Commands(iTerm2)

To navigate in a directory use

cd ./<that_folders_name>

To navigate out use

cd ..

To show folders and file that don’t have a . In the name run

ls

To show folders and file that have a . In the beginning run

ls -a

To make a new folder from the cli run

mkdir <folder_name>

#example
mkdir some-nice-ass-folder

To create a new file run

touch <file_name>.<extension>

#example
touch CoolFile.js