File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -133,10 +133,10 @@ tsc is the TypeScript compiler. We use tsc to compile TypeScript code into JavaS
133
133
1. In you terminal window, enter the following command
134
134
135
135
```
136
- npm install -g typescript
136
+ npm install --location=global typescript
137
137
```
138
138
139
- The `-g ` installs this as a global package. The TypeScript compiler will be available to all directories for this user.
139
+ The `--location=global ` installs this as a global package. The TypeScript compiler will be available to all directories for this user.
140
140
141
141
You will see something similar to
142
142
Original file line number Diff line number Diff line change @@ -158,10 +158,10 @@ tsc is the TypeScript compiler. We use tsc to compile TypeScript code into JavaS
158
158
1. In you terminal window, enter the following command
159
159
160
160
```
161
- npm install -g typescript
161
+ npm install --location=global typescript
162
162
```
163
163
164
- The `-g ` installs this as a global package. The TypeScript compiler will be available to all directories for this user.
164
+ The `--location=global ` installs this as a global package. The TypeScript compiler will be available to all directories for this user.
165
165
166
166
You will see something similar to
167
167
Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ tsc is the TypeScript compiler. We use tsc to compile TypeScript code into JavaS
61
61
1. In your ** Command Prompt** window, enter the following command
62
62
63
63
```
64
- npm install -g typescript
64
+ npm install --location=global typescript
65
65
```
66
66
67
- The " -g " installs this as a global package. The TypeScript compiler will be available to all directories for this user.
67
+ The " --location=global " installs this as a global package. The TypeScript compiler will be available to all directories for this user.
68
68
69
69
You will see something similar to
70
70
You can’t perform that action at this time.
0 commit comments