Install ‘trunk’ local web server

Minimalist version!

Be sure ‘cargo’ is installed. See this page to check your version and install if necessary…

-> Install RsLang & ‘cargo’

Once ‘cargo’ is installed, install ‘trunk’…

     $ cargo install --locked trunk

Home page...

-> https://trunkrs.dev/


Keywords: install trunk local web server package manager deployment

Troy Frericks
RS Lang Blog
11-Jan-2024

Copyright 2023-2024 by Troy Frericks, https://rslang.dev/
https://MyRandomThings.com/
https://DataArchitect.us/
https://DataFirstDevelopment.com/
https://CyberSecurityRecap.com/
#

Install RS Lang & ‘cargo’

Minimalist version!

Ensure ‘curl’ is installed

     $ curl --version #if this returns 'command not found', then install...
     $ sudo apt install curl #or use your distro's preferred method

To install RS Lang & ‘cargo’ on a *nix system (root access is not required)…

     $ cd 
     $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
     $ source .cargo/env

To check the version…

     $ rustc --version
     $ cargo --version

To update the RS Lang & ‘cargo’ install…

     $ rustup update

Home Page…

     https://www.rust-lang.org/
     https://doc.rust-lang.org/cargo/index.html

Keywords: install update check verify rslang compiler cargo package manager

Troy Frericks
RS Lang Blog
21-Dec-2023

Copyright 2023 by Troy Frericks, https://rslang.dev/
https://MyRandomThings.com/
https://DataArchitect.us/
https://DataFirstDevelopment.com/
https://CyberSecurityRecap.com/
#