Quick start of development work
An experience in setting up a Windows development environment

I want to improve my English.
Search for a command to run...
An experience in setting up a Windows development environment

I want to improve my English.
No comments yet. Be the first to comment.
使用注册表为微软输入法快速配置小鹤双拼

Step 1 Open JDK download Page and choose what JDK you want to download, for example: jdk-8u333-windows-x64.exe. Step 2 Click the link and pay attention to the dialog. Check the checkbox to agree with the agreement, right-click the download button an...

最近开始研究学习深度学习方向的内容,需要在个人电脑上安装 linux,使用机器的 GPU 完成一些深度学习的工作,因此使用了 WSL2。 安装 WSL2 安装 WSL2 的流程可以参考 Microsoft Docs: Install Linux on Windows with WSL 我选择的 linux 发行版是 ubuntu20.04 LTS C:\WINDOWS\system32>wsl --list -v NAME STATE VERSION...

We usually do not install node.js directly instead of managing it with NVM (Node Version Manager). NVM has a different implementation on different platforms. Windows' implementation is here, and Linux's one is here.
Take Windows as an example. After installing NVM, you can execute the command nvm to get all available usages.

For Chinese users, you'd better set up the node mirror of Alibaba to speed up the node.
nvm node_mirror https://npmmirror.com/mirrors/node
nvm npm_mirror https://npmmirror.com/mirrors/npm
Then list all available node versions with the command nvm list available. We recommend installing LTS (Long Term Support) version.

Then you can install what version you want. Execute the following commands.
nvm install 16 # Auto install the latest node.js, which's major version is 16
nvm use 16.16.0 # In my case, the newest version is 16.16.0
Validate your installation.
node -v
npm -v
For Chinese users, the first step is to set up an NPM mirror of Alibaba.
npm config set registry http://registry.npmmirror.com
npm install --location=global pnpm
pnpm -v
# Set up store dir
pnpm config set store-dir D:\dev-data\.pnpm-store
npm install --location=global @antfu/ni
View the article Download Oracle JDK Without login and install JDK and JRE in the specified directory such as D:\dev-app\jdk\jdk1.8.0_333\ and D:\dev-app\jdk\jre1.8.0_333.
Create or update the system variable JAVA_HOME and set its value as D:\dev-app\jdk\jdk1.8.0_333\ (The directory where you installed the JDK).

The add a record %JAVA_HOME%\bin in the system variable path.
Open a new terminal and check the Java version.
java -version
javac -version
javap -version