]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: add Bun install instructions (#41277)
authorAshcon Partovi <ashcon@partovi.net>
Fri, 4 Apr 2025 19:34:27 +0000 (12:34 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Apr 2025 19:34:27 +0000 (21:34 +0200)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
README.md
site/content/docs/5.3/getting-started/download.md

index 454ff61c9cdbed755bac8185dace679d233b89ae..f831f47d7890f55b7ae60293248126c923ba954c 100644 (file)
--- 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`
 
index e15cb9860c84576e90d908fb5fa0185a9854ba82..76821ee01f64f06f082b111464d1e2eb726c9461 100644 (file)
@@ -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):