Installation
Add the microsoft repository as the official ubuntu package manager doesn´t contain the dotnet runtime in version 9
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.debsudo dpkg -i packages-microsoft-prod.debrm packages-microsoft-prod.debsudo apt updateInstall the dotnet runtime
sudo apt-get install -y dotnet-runtime-9.0Download the latest release of this tool
curl -s https://api.github.com/repos/Derroylo/webdev-tool/releases/latest | grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \" | wget -qi -Unzip the downloaded file, create a folder in your home directory and add a symlink to the bin folder
mkdir ~/webdevunzip webdev-tool.zip -d ~/webdev/rm webdev-tool.zipchmod +x $HOME/webdev/webdev.shsudo ln -s $HOME/webdev/webdev.sh /usr/local/bin/webdevOn some system configurations the folder /usr/local/bin doesn´t exists, so we need to create it to follow linux best practices.
sudo mkdir -p /usr/local/binsudo chown root:root /usr/local/binsudo chmod 755 /usr/local/binIf everything worked, then you should be able to use the webdev command in the terminal.