- How to install Artillery via
- How to check that your Artillery installation is working
Artillery is a CLI application that is installed on your computer. Artillery should run on any system that runs Node.js v12 or above.
Install Artillery via
npm install -g artillery
This will install Artillery globally on your computer.
If you’re installing Artillery in a Docker container (or a Docker image, e.g. via
RUN npm install -g artillery), make sure the installation is not run as the
Artillery can also be installed as a dev dependency of a Node.js project with:
npm install -D artillery
Make sure that you have already run
npm initor have a
package.jsonfile in the root of your project to ensure Artillery is installed in the correct directory.
If you used
npm to install Artillery globally, run:
If you installed Artillery locally for a project, run the following command from the root folder of that project:
$(npm bin)/artillery dino
You should see an ASCII dinosaur printed to the terminal.