@@ -11,34 +11,34 @@ _____________
11
11
# Guide
12
12
1 . Download [ nodejs] ( https://nodejs.org ) (current)
13
13
- Setup nodejs
14
- - [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/1.png )
14
+ - ! [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/1.png )
15
15
- If on linux; to install:
16
16
``` bash
17
17
sudo apt-get install -y node.js
18
18
```
19
19
2 . Restart Computer * if necessary*
20
20
3 . Make a new folder (anywhere)
21
- - [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/3.png )
21
+ - ! [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/3.png )
22
22
4 . Open your shell * In your new folder preferably*
23
23
- Command Prompt for windows
24
24
- Terminal for Linux/Mac
25
- - [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/4.png )
25
+ - ! [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/4.png )
26
26
5 . ` cd ` into the new directory (folder) using:
27
27
``` bash
28
28
cd folder
29
29
OR
30
30
cd directory/folder
31
31
```
32
32
Where folder is your new folder's name and the directory representing the directory to your folder
33
- -[ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/5.png )
33
+ - ! [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/5.png )
34
34
6 . Now, type in
35
35
``` bash
36
36
npm init
37
37
```
38
- - [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/6.png )
38
+ - ! [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/6.png )
39
39
and follow the prompts, then hit enter for * yes*
40
40
7 . Create a Javascript file where your ` package.json ` is located (` index.js ` by default)
41
- - [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/7.png )
41
+ - ! [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/7.png )
42
42
8 . Open the Javascript file (using the code editor) and now we can do a simple program ** in the index.js** . ex:
43
43
``` js
44
44
// index.js
@@ -48,7 +48,7 @@ _____________
48
48
``` bash
49
49
node index.js
50
50
```
51
- [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/9.png )
51
+ ! [ img] ( https://raw.githubusercontent.com/jevajs/Jeva/master/Setting%20Up%20Node.js%20(Javascript)/9.png )
52
52
53
53
## Great Job! You successfully installed node and made your first program in node.js.
54
54
Make sure to subscribe to Jeva and join our discord!
0 commit comments