# The 'conda' command is not available in the shell /bin/bash that will be used by Snakemake

**URL:** <https://nextstrain.discourse.group/t/the-conda-command-is-not-available-in-the-shell-bin-bash-that-will-be-used-by-snakemake/605>\
**Category:** Uncategorized\
**Created:** [July 9, 2021, 9:32pm UTC](https://nextstrain.discourse.group/t/the-conda-command-is-not-available-in-the-shell-bin-bash-that-will-be-used-by-snakemake/605 "2021-07-09T21:32:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiehuang001](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@jiehuang001](https://nextstrain.discourse.group/u/jiehuang001)\
**Post date:** [July 9, 2021, 9:32pm UTC](https://nextstrain.discourse.group/t/the-conda-command-is-not-available-in-the-shell-bin-bash-that-will-be-used-by-snakemake/605/1 "2021-07-09T21:32:40Z")

</div>

Hi, there:

please see the screenshot below. I am keeping getting an error.

 ![11](https://canada1.discourse-cdn.com/flex031/uploads/nextstrain/original/1X/ab50c547459b676eb429e20c926af4b5b022f57d.png)

Is this because that “Setting default environment to docker” instead of “native”? If so, how to change the default environment to native?

Thank you & Best regards,  
Jie

---

<div class="post-metadata">

**Author:** ![james](https://yyz1.discourse-cdn.com/flex031/user_avatar/nextstrain.discourse.group/james/32/11_2.png) [@james](https://nextstrain.discourse.group/u/james)\
**Post date:** [July 14, 2021, 9:21pm UTC](https://nextstrain.discourse.group/t/the-conda-command-is-not-available-in-the-shell-bin-bash-that-will-be-used-by-snakemake/605/2 "2021-07-14T21:21:38Z")

</div>

Hi @jiehuang001 - you can run each individual `nextstrain` command in a native (non-docker) environment by adding `--native`, e.g. `nextstrain build --native ...`.

Changing the defaults is [a work in progress](https://github.com/nextstrain/cli/issues/110)!
