Skip to content

Apache DataFusion SQL Query Engine

revise document of installing ballista pinned to specified version (#2034)

DuRipeng12996cee52d2
diff --git a/ballista/rust/client/README.md b/ballista/rust/client/README.md
index c27b83899b..08ca67b94a 100644
--- a/ballista/rust/client/README.md
+++ b/ballista/rust/client/README.md
@@ -49,8 +49,8 @@ A simple way to start a local cluster for testing purposes is to use cargo to in
the scheduler and executor crates.
```bash
-cargo install ballista-scheduler
-cargo install ballista-executor
+cargo install --locked ballista-scheduler
+cargo install --locked ballista-executor
```
With these crates installed, it is now possible to start a scheduler process.
diff --git a/docs/source/user-guide/distributed/deployment/cargo-install.md b/docs/source/user-guide/distributed/deployment/cargo-install.md
index 22a38d78f6..8e68278fd6 100644
--- a/docs/source/user-guide/distributed/deployment/cargo-install.md
+++ b/docs/source/user-guide/distributed/deployment/cargo-install.md
@@ -23,8 +23,8 @@ A simple way to start a local cluster for testing purposes is to use cargo to in
the scheduler and executor crates.
```bash
-cargo install ballista-scheduler
-cargo install ballista-executor
+cargo install --locked ballista-scheduler
+cargo install --locked ballista-executor
```
With these crates installed, it is now possible to start a scheduler process.