BST-SHELL(1)

πŸ“¦
version 2.8.1 Β· 3 versions
, in fedora 43, fedora 44, nixpkgs unstable, ubuntu stonking

✨ bst-shell β€” the shell-into-a-sandbox page, bestie edition ✨

okay so welcome to the bst shell manual, literally the manual for the bst shell command πŸ’… buckle up because we're getting you into an element's sandbox and it's giving main character energy πŸ¦‹


🌸 NAME 🌸

bst-shell β€” shell into an element's sandbox environment 🐚✨


πŸŽ€ SYNOPSIS πŸŽ€

bst shell [OPTIONS] [TARGET] [COMMAND]...

that's it, that's the whole vibe. periodt.


πŸ’– DESCRIPTION πŸ’–

Run a command in the target element's sandbox environment. no cap, that's the whole job.

When this command is executed from a workspace directory, the default is to shell into the workspace element. like, it just knows. iykyk 🧚

This will stage a temporary sysroot for running the target element, assuming it has already been built and all required artifacts are in the local cache. so fr fr, make sure it's built first or you're gonna be sitting there like 😭

Use -- to separate a command from the options to bst, otherwise bst may respond to them instead. this is THE rule, bestie, do not skip it. e.g.

bst shell example.bst -- df -h

Use the --build option to create a temporary sysroot for building the element instead. two moods: running mood and building mood πŸ’œ

If no COMMAND is specified, the default is to attempt to run an interactive shell. yes queen, you just get dropped into a shell, iconic πŸ‘‘


✨ OPTIONS ✨

  • -b, --build β€” Stage dependencies and sources to build. it's the building era πŸ—οΈ
  • --mount HOSTPATH PATH β€” Mount a file or directory into the sandbox. bring your stuff with you πŸŽ’
  • --isolate β€” Create an isolated build sandbox. alone time, but make it builds πŸ¦‹
  • -t, --use-buildtree β€” Stage a buildtree. Will fail if a buildtree is not available. pull-buildtrees configuration is needed if the buildtree is not available locally. so like, if it's not there locally you gotta have that config or it's just not happening πŸ™ˆ
  • --artifact-remote REMOTE β€” A remote for uploading and downloading artifacts. artifacts need a home too 🏠
  • --source-remote REMOTE β€” A remote for uploading and downloading cached sources. sources, but make it remote πŸ“¦
  • --ignore-project-artifact-remotes β€” Ignore remote artifact cache servers recommended by projects. not me ignoring the project's suggestions πŸ’€
  • --ignore-project-source-remotes β€” Ignore remote source cache servers recommended by projects. same energy, but for sources 🌈

heads up bestie: that -- thing in the description? it's not decorative. if you don't use it, bst might eat your command's options and you'll be so confused. protect your flags 🫢

and that's the whole page!! this was bst shell from the bst shell manual, version 2.5, dated 2025-05-09 πŸ’– thanks for reading, go stage that sysroot, slay, and remember: no cap, use the -- 🌟