diff --git a/README.md b/README.md
index ec4666307185a181eaf3ec6be79596730ff08cb8..671110fb31b8968c1be0056648ffb90637c4474f 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ On computers with [GraalVM](https://www.graalvm.org/downloads/) installed, a nat
 ```bash
 javac LINtree.java
 native-image LINtree LINtree
-rm LINtree.class
+rm -f LINtree.build_artifacts.txt LINtree.class
 ```
 
 This will create the native executable `LINtree` that can be run with the following command line model: