# fx clean | |
clean the current Fuchsia build artifacts | |
```none | |
Delete the contents of the output directory except for args.gn and | |
create a Ninja build environment sufficient to regenerate the build. | |
This is equivalent to running `gn clean` on FUCHSIA_BUILD_DIR. | |
``` | |
[clean source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/clean) |