Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walterthesmart/npm-install-rust
https://github.com/walterthesmart/npm-install-rust
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/walterthesmart/npm-install-rust
- Owner: walterthesmart
- Created: 2024-03-06T18:07:26.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T18:52:01.000Z (10 months ago)
- Last Synced: 2024-08-17T19:45:05.801Z (4 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust
Ever wanted to install Rust but only have access to `npm`? Well, now you can!
Just run `npm install rust` to get a full Rust toolchain.
This uses nightly by default, but if you want a stable toolchain, use `npm install rust@stable`.
## Optional Installation
By default, this package will *not* install the toolchain if it already exists. This is to avoid
accidentally overriding the existing toolchain, and to avoid installing an entire toolchain into your
`node_modules` folder unnecessarily.To override this behavior, you can set the `RUST_INSTALL_MODE` environment variable to `skip`, if you wish
to always skip the installation, or to `force`, if you wish to always install the toolchain.Created by Walter and Amobi N.
# npm-install-rust