Skip to content

Commit

Permalink
Improves the description of the installation command (#12354)
Browse files Browse the repository at this point in the history
- **Description:**

 Before: 
`
To install modules needed for the common LLM providers, run:
`

After:
`
To install modules needed for the common LLM providers, run the
following command. Please bear in mind that this command is exclusively
compatible with the `bash` shell:
`


> This is required for the user so that the user will know if this
command is compatible with `zsh` or not.

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
  • Loading branch information
ankur0904 and baskaryan authored Oct 31, 2023
1 parent 1dbb77d commit 00766c9
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions docs/docs/get_started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,7 @@ import CodeBlock from "@theme/CodeBlock";

This will install the bare minimum requirements of LangChain.
A lot of the value of LangChain comes when integrating it with various model providers, datastores, etc.
By default, the dependencies needed to do that are NOT installed.
However, there are two other ways to install LangChain that do bring in those dependencies.

To install modules needed for the common LLM providers, run:

```bash
pip install langchain[llms]
```

To install all modules needed for all integrations, run:

```bash
pip install langchain[all]
```

Note that if you are using `zsh`, you'll need to quote square brackets when passing them as an argument to a command, for example:

```bash
pip install 'langchain[all]'
```
By default, the dependencies needed to do that are NOT installed. You will need to install the dependencies for specific integrations separately.

## From source

Expand Down

0 comments on commit 00766c9

Please sign in to comment.