webdesign:html5-and-javascript
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
webdesign:html5-and-javascript [2018/04/24 16:45] – [Node.js] admin | webdesign:html5-and-javascript [2022/10/29 16:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 48: | Line 48: | ||
- Step3: Set the environment variable ~/.profile or ~/ | - Step3: Set the environment variable ~/.profile or ~/ | ||
# Nodejs | # Nodejs | ||
- | export NODEJS_HOME=/ | + | export NODEJS_HOME=/ |
export PATH=$NODEJS_HOME: | export PATH=$NODEJS_HOME: | ||
</ | </ | ||
- Step4: | - Step4: | ||
- | ~/.profile | + | .~/.profile |
+ | </ | ||
+ | - Step6: Check environment:< | ||
+ | echo $PATH | ||
+ | / | ||
</ | </ | ||
- Step5: Test installation using< | - Step5: Test installation using< | ||
node -v | node -v | ||
+ | npm version | ||
+ | </ | ||
+ | v8.11.1 | ||
+ | { npm: ' | ||
+ | ares: ' | ||
+ | cldr: ' | ||
+ | http_parser: | ||
+ | icu: ' | ||
+ | modules: ' | ||
+ | nghttp2: ' | ||
+ | node: ' | ||
+ | openssl: ' | ||
+ | tz: ' | ||
+ | unicode: ' | ||
+ | uv: ' | ||
+ | v8: ' | ||
+ | zlib: ' | ||
</ | </ | ||
- | |||
- | $ npm version | ||
==== npm(node package manager for javascript...) ==== | ==== npm(node package manager for javascript...) ==== | ||
refer: | refer: |
webdesign/html5-and-javascript.1524588304.txt.gz · Last modified: 2022/10/29 16:15 (external edit)