You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -85,15 +85,15 @@ As Mac OS has recently removed the bundled copy of Python 2.7, please see [this
85
85
**Installing and Upgrading Node and NPM versions**\
86
86
There is a handy command in your `.bash_profile` and `.zsh_profile` that will automatically install your chosen version of Node and NPM, re-install any global npm packages (like angular cli), and set the newly installed version as default.
87
87
88
-
We use Node v18 at Vendasta. To upgrade to the latest version of Node 18, re-install global npm packages, and set it as default, run the following command:
88
+
We use Node v20 at Vendasta. To upgrade to the latest version of Node 20, re-install global npm packages, and set it as default, run the following command:
89
89
```sh
90
-
node-upgrade 18
90
+
node-upgrade 20
91
91
```
92
92
93
93
If you wish to install a version of node without reinstalling all global packages or setting it to be default, you can use NVM directly ([Official docs][nvm docs]):
94
94
```sh
95
95
# Install a specific version of Node
96
-
nvm install 14# or 10.10.0, 8.9.1, etc
96
+
nvm install 18# or 10.10.0, 8.9.1, etc
97
97
```
98
98
99
99
<br>
@@ -108,7 +108,7 @@ nvm use node # "node" is an alias for the latest version
[ -s"$NVM_DIR/nvm.sh" ] &&\."$NVM_DIR/nvm.sh"# This loads nvm
362
-
nvm install 18
362
+
nvm install 20
363
363
npm install --location=global @angular/cli
364
364
npm install --location=global nx
365
365
npm install --location=global husky
@@ -705,7 +705,7 @@ This script helps new developers at Vendasta setup their laptops quicker, lettin
705
705
I have tried to make this script simple and useful. You will want to customize the installation and configuration to match the tools and services you use at your company.
706
706
707
707
- At Vendasta, we are using Go, Angular, and Google Cloud. You most likely do not use all of these, so remove, change, and tweak to meet your needs.
708
-
- We lock our Node version at 18 (using NVM) for best compatibility with Angular and NX. You will likely want to change this.
708
+
- We lock our Node version at 20 (using NVM) for best compatibility with Angular and NX. You will likely want to change this.
709
709
- To customize the [welcome logo](https://github.com/vendasta/setup-new-computer-script/blob/47b7c97f21b293e143a0566cafecec2cfc69c528/setup-new-computer.sh#L74-L90) and add a bit of style, I used the handy [Text to ASCII Art Generator](https://patorjk.com/software/taag/#p=testall&f=Isometric1&t=Vendasta)
710
710
- When you update the script, remember to update the readme "What's Installed" section too
711
711
- Be sure to update both the `.bash_profile` and `.zprofile`
0 commit comments