FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
github-docs/script/check-for-node at main · 0xdevalias/github-docs · GitHub
0xdevalias
/
github-docs
Public
forked from
github/docs
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
github-docs
/
script
/
check-for-node
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
15 lines (13 loc) · 351 Bytes
Breadcrumbs
github-docs
/
script
/
check-for-node
Copy path
File metadata and controls
executable file
·
15 lines (13 loc) · 351 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!
/usr/bin/env bash
#
[start-readme]
#
#
This script is run automatically when you run the server locally. It checks whether Node.js is installed.
#
#
[end-readme]
if
which node
2>
/dev/null
;
then
echo
"
✔ Node.js is installed.
"
else
echo
"
✘ Node.js is not installed
"
echo
"
Visit nodejs.org to download the latest LTS installer
"
exit
1
fi
Back
|
FazBrowse Home
|
New Git URL