# Question Regarding FPM Command

**URL:** <https://fortran-lang.discourse.group/t/question-regarding-fpm-command/2978>\
**Category:** Help\
**Created:** [March 14, 2022, 4:59pm UTC](https://fortran-lang.discourse.group/t/question-regarding-fpm-command/2978 "2022-03-14T16:59:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arteevraina](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@arteevraina](https://fortran-lang.discourse.group/u/arteevraina)\
**Post date:** [March 14, 2022, 4:59pm UTC](https://fortran-lang.discourse.group/t/question-regarding-fpm-command/2978/1 "2022-03-14T16:59:23Z")

</div>

Hey community,  
I am currently playing around with `fpm` and its commands. I wanted to ask if there is any command that deletes your `build` directory in fpm that is generated by running `fpm build`.

Thanks

---

<div class="post-metadata">

**Author:** ![everythingfunctional](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/everythingfunctional/32/176_2.png) [@everythingfunctional](https://fortran-lang.discourse.group/u/everythingfunctional)\
**Post date:** [March 14, 2022, 5:40pm UTC](https://fortran-lang.discourse.group/t/question-regarding-fpm-command/2978/2 "2022-03-14T17:40:09Z")

</div>

Not yet, but…

> <https://github.com/fortran-lang/fpm/issues/664>
>
> \### Description
> 
> Proposing adding a new fpm command to delete the build folder…. Sometimes, for whatever reason, programs fail to compile and the quick solution is to delete the build folder and recompile. This happens when files are moved or new dependencies added/removed or changing the project name midway through development. 
> 
> 
> \### Possible Solution
> 
> Not sure we have a cross platform solution handy, but thinking along the lines of a system call: rm -rf build
> 
> 
> 
> \### Additional Information
> 
> Can users have/use a custom folder other than 'build'? 
> Dependency .git folders within build have write-protected files - force the delete.

---

<div class="post-metadata">

**Author:** ![arteevraina](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@arteevraina](https://fortran-lang.discourse.group/u/arteevraina)\
**Post date:** [March 15, 2022, 4:35am UTC](https://fortran-lang.discourse.group/t/question-regarding-fpm-command/2978/3 "2022-03-15T04:35:09Z")

</div>

Great !
