From ae482af06ed459be335ba4860d3627a4ba0018a4 Mon Sep 17 00:00:00 2001 From: wongsitu Date: Thu, 12 Oct 2023 13:20:14 -0600 Subject: [PATCH 1/3] fiox: nvm instructions --- src/installation/installfest/README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/installation/installfest/README.md b/src/installation/installfest/README.md index 213ac4e..6c3517b 100644 --- a/src/installation/installfest/README.md +++ b/src/installation/installfest/README.md @@ -115,7 +115,28 @@ nvm stands for Node Version Manager. It is a tool that allows you to easily inst brew install nvm ``` -To check if nvm is installed, run the following command: +To configure nvm, run the following command: + +```bash +mkdir ~/.nvm +``` + +Then open your + +Then open your `~/.bash_profile` using: + +```bash +code ~/.bash_profile +``` + +And at the following lines at the end of the file and save it: + +```bash +export NVM_DIR=~/.nvm +source $(brew --prefix nvm)/nvm.sh +``` + +Close and reopen your terminal. To check if nvm is installed, run the following command: ```bash nvm --version From cef227725be01912a5bb550a5ee7128943c79cc2 Mon Sep 17 00:00:00 2001 From: wongsitu Date: Thu, 12 Oct 2023 13:23:08 -0600 Subject: [PATCH 2/3] fiox: nvm instructions --- src/installation/installfest/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/installation/installfest/README.md b/src/installation/installfest/README.md index 6c3517b..23e1d5b 100644 --- a/src/installation/installfest/README.md +++ b/src/installation/installfest/README.md @@ -121,8 +121,6 @@ To configure nvm, run the following command: mkdir ~/.nvm ``` -Then open your - Then open your `~/.bash_profile` using: ```bash From 744b99dab7cfa94637d8da4f15662bd7b9865184 Mon Sep 17 00:00:00 2001 From: wongsitu Date: Thu, 12 Oct 2023 13:44:17 -0600 Subject: [PATCH 3/3] added bash completing installation --- src/installation/installfest/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/installation/installfest/README.md b/src/installation/installfest/README.md index 23e1d5b..3692428 100644 --- a/src/installation/installfest/README.md +++ b/src/installation/installfest/README.md @@ -11,6 +11,7 @@ This guide will help you install all the tools you need to start coding. It will - [Windows Users](#windows-users) - [Installing Homebrew](#installing-homebrew) - [Installing Git](#installing-git) + - [Installing bash-completion](#installing-bash-completion) - [Installing Node](#installing-node) - [Installing Nvm](#installing-nvm) - [Installing Python](#installing-python) @@ -95,6 +96,27 @@ to check if it worked: gh auth status ``` +#### Installing bash-completion +bash-completion is a collection of shell functions that take advantage of the programmable completion feature of bash. It provides completions for various commands, including git, npm, and others. To install bash-completion, run the following command: + +```bash +brew install bash-completion +``` + +To configure bash-completion, run the following command: + +```bash +code ~/.bash_profile +``` + +And add the following lines at the end of the file and save it: + +```bash +if [ -f $(brew --prefix)/etc/bash_completion ]; then + . $(brew --prefix)/etc/bash_completion +fi +``` + #### Installing Node Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. It allows developers to use JavaScript to write command-line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. To install Node, run the following command: