Skip to content

Instantly share code, notes, and snippets.

@Falieson
Last active May 31, 2018 21:59
Show Gist options
  • Save Falieson/669d00510cf9a143b5b4261419cb6674 to your computer and use it in GitHub Desktop.
Save Falieson/669d00510cf9a143b5b4261419cb6674 to your computer and use it in GitHub Desktop.
S5. F03. Set NVM (ARTICLE: TS-Module w/ Declarations (Part 1/4))
### TS-Module w/ Declarations (Part 1/4)
# http://TGRstack.com/#ts-module_articles_part-1
# Set NVM (Section 5. Figure 03.)
###
falieson:./ts-module/$ NV=$(node --version)
falieson:./ts-module/$ echo "${NV:1:${#NV}-1}" >> ".nvmrc" # set pkg node version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment