Skip to content

Can fastapi-cli be moved to an extra of fast api, rather than a default. #11525

Answered by tiangolo
ollz272 asked this question in Questions
Discussion options

You must be logged in to vote

Thanks for the feedback!

So, the idea with having the new setup with fastapi apart from fastapi-slim is to make the simplest developer experience for the majority of cases, in particular for newcomers, as it's much easier to install pip install fastapi and have the default recommended packages.


For a newbie, pip install fastapi[standard] means explaining what the [] means, what is this standard keyword, what is the difference between pip install fastapi and pip install fastapi[standard], and in many cases that command won't even work, because people might be using Zsh (e.g. in Mac by default) where it needs quotes around pip install "fastapi[standard]", so, what should be the simplest us…

Replies: 8 comments 18 replies

Comment options

You must be logged in to vote
3 replies
@ollz272
Comment options

@tiangolo
Comment options

@zoola969
Comment options

Comment options

You must be logged in to vote
3 replies
@tiangolo
Comment options

@mjbommar
Comment options

@aymenkrifa
Comment options

Comment options

You must be logged in to vote
1 reply
@tiangolo
Comment options

Comment options

You must be logged in to vote
2 replies
@tiangolo
Comment options

@Chouvic
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@hasansezertasan
Comment options

@killjoy1221
Comment options

@benjsec
Comment options

@aybruhm
Comment options

@RobertDeRose
Comment options

Answer selected by tiangolo
Comment options

You must be logged in to vote
1 reply
@zoola969
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem