diff --git a/docs/src/pages/docs/cli.md b/docs/src/pages/docs/cli.md index 79a69df3e7..c89602f627 100644 --- a/docs/src/pages/docs/cli.md +++ b/docs/src/pages/docs/cli.md @@ -125,6 +125,14 @@ It's recommended to use these commands to store an IDL on chain, at a determinis address, as a function of nothing but the program's ID. This allows us to generate clients for a program using nothing but the program ID. +### Idl Build + +```shell +anchor idl build +``` + +Generates the IDL for the program using the compilation method. + ### Idl Init ```shell