File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
docs/content/docs/references Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -222,3 +222,19 @@ anchor_version = "0.31.1" # `anchor-cli` version to use(requires `avm`)
222222solana_version = " 2.1.21" # Solana version to use(applies to all Solana tools)
223223package_manager = " yarn" # JS package manager to use
224224```
225+
226+ ### package_manager
227+
228+ The ` package_manager ` field indicates which package manager Anchor should use for all of its client and
229+ workspace commands. [ Valid values] ( https://github.com/solana-foundation/anchor/blob/cac1421e026ae27d06b52d849572cd8b5c1c5b8a/cli/src/config.rs#L309-L322 )
230+ include ` npm ` , ` yarn ` , ` pnpm ` , and ` bun ` .
231+
232+ Anchor will default to ` yarn ` , if a value is not specified. Note values should be in lowercase, since
233+ values are deserialized with ` serde(rename_all = "lowercase") ` .
234+
235+ Example:
236+
237+ ``` toml
238+ [toolchain ]
239+ package_manager = " pnpm"
240+ ```
You can’t perform that action at this time.
0 commit comments