---
title: "Comment by Didi Bear on \"Rust for JavaScript developers: SQS batch error handling with AWS Lambda\" | Hashnode"
description: "Just saying that cargo install and npm install are somehow different: npm install -g is equivalent to cargo install npm install is equivalent to cargo build"
url: "https://hashnode.com/posts/rust-for-javascript-developers-sqs-batch-error-handling-with-aws-lambda/624171bfdb84f8c50fa59cb0/comment/6245ac9393b269f2e3743473"
---

[Discussion](https://hashnode.com/posts/rust-for-javascript-developers-sqs-batch-error-handling-with-aws-lambda/624171bfdb84f8c50fa59cb0)

Comment [Rust for JavaScript developers: SQS batch error handling with AWS Lambda](https://hashnode.com/posts/rust-for-javascript-developers-sqs-batch-error-handling-with-aws-lambda/624171bfdb84f8c50fa59cb0)

[Didi Bear](https://hashnode.com/@DidiBear)

[Mar 31, 2022](https://hashnode.com/posts/rust-for-javascript-developers-sqs-batch-error-handling-with-aws-lambda/624171bfdb84f8c50fa59cb0/comment/6245ac9393b269f2e3743473)

Just saying that `cargo install` and `npm install` are somehow different:

-   `npm install -g` is equivalent to `cargo install`
-   `npm install` is equivalent to `cargo build`
