From 41cbd4d5810069360399c12b3e490d7f145ded52 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Fri, 4 Apr 2025 12:34:27 -0700 Subject: [PATCH] Docs: add Bun install instructions (#41277) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Déramond --- README.md | 1 + site/content/docs/5.3/getting-started/download.md | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 454ff61c9c..f831f47d78 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Several quick start options are available: - Clone the repo: `git clone https://github.com/twbs/bootstrap.git` - Install with [npm](https://www.npmjs.com/): `npm install bootstrap@v5.3.5` - Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@v5.3.5` +- Install with [Bun](https://bun.sh/): `bun add bootstrap@v5.3.5` - Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:5.3.5` - Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap` Sass: `Install-Package bootstrap.sass` diff --git a/site/content/docs/5.3/getting-started/download.md b/site/content/docs/5.3/getting-started/download.md index e15cb9860c..76821ee01f 100644 --- a/site/content/docs/5.3/getting-started/download.md +++ b/site/content/docs/5.3/getting-started/download.md @@ -111,6 +111,14 @@ yarn start # Start the project ``` {{< /callout >}} +### Bun + +Install Bootstrap in your Bun or Node.js powered apps with [the Bun CLI](https://bun.sh/): + +```sh +bun add bootstrap@{{< param "current_version" >}} +``` + ### RubyGems Install Bootstrap in your Ruby apps using [Bundler](https://bundler.io/) (**recommended**) and [RubyGems](https://rubygems.org/) by adding the following line to your [`Gemfile`](https://bundler.io/guides/gemfile.html):