bun-scripts
Installation
$ curl https://bun.sh/install | bash after this i opened my .bashrc and added the following line:
BUN_INSTALL="/root/.bun" PATH="$BUN_INSTALL/bin:$PATH" # as it wasn't added automatically, i added it manually i restarted my terminal and it worked! 🎉
working with .env and bun
# then i did a fancy stuff echo PORT=5000 >> .env touch http.js // http.js console.log(process.env.PORT) // USING ENVIRONMENT VARIABLES WITHOUT DOTENV MODULES. bun run http.js checkout the code @repo
sugggest me what should i try next with bun
🤝🏾Connect me on:
Twitter: 🕊️@Abhayprajapati_
Github: 🐧@theabhayprajapati

Top comments (4)
PSA: Running everything (but especially shell scripts from the web) as root is dangerous. It's not a coincidence that on Linux, user accounts have limited permissions.
And?
it was great 😁
Cool! ^.^ I think your post should've been about the "it was great" part and why it was great, but all fine. :P