- Learn WebAssembly
- Mike Rourke
- 119字
- 2021-08-13 15:38:59
Installing rimraf
Some of the build steps defined in the Makefiles or VS Code Tasks delete files or directories. The commands required to delete a file or folder differ based on your platform and shell. To address this issue we'll use the rimraf npm package (https://www.npmjs.com/package/rimraf). Installing the package globally provides a rimraf command that performs the correct deletion operation for the operating system and shell.
To install rimraf, ensure that Node.js is installed and run the following command from a CLI:
npm install -g rimraf
To ensure that the installation was successful, run the following command:
rimraf --help
You should see usage instructions and a list of command line flags. Let's move on to the VS Code installation.