How to Install Bootstrap for Laravel using npm via Command Line in Linux Operating System

This is an article depicting the process of how to install bootstrap using an utility called ‘npm’. The utility itself which is claimed as Javascript Package Manager is actually take part for managing dependency available in a certain web-based application project such as Laravel. So, using npm to manage it, in the context of installing a Javascript additional module such as ‘bootstrap’, that role can be taken by executing a single command. But to execute the command further, the ‘npm’ utility need to be checked first whether or whether not it has already been installed. Below is the output of the ‘npm’ command executed :

Continue reading “How to Install Bootstrap for Laravel using npm via Command Line in Linux Operating System”

How to Install JQuery for Laravel using npm via Command Line in Linux Operating System

This article is actually displaying on how to install JQuery using npm which is executed via command line. It is executed in an environment of Command Line Interface (CLI) since the installation process just involving a step of typing the right, suitable or the correct command in the terminal or the text-based interface. It is done in Linux operating system since it actually provides the interface for executing the command. But first of all, the most important thing is to make sure that ‘npm’ as the utility used to install JQuery is already available in the operating system. To be able to do that, just type the following command :

user@hostname:/var/www/html/laravel$ npm

Usage: npm 

where  is one of:
    access, adduser, bin, bugs, c, cache, completion, config,
    ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
    explore, get, help, help-search, i, init, install,
    install-test, it, link, list, ln, login, logout, ls,
    outdated, owner, pack, ping, prefix, profile, prune,
    publish, rb, rebuild, repo, restart, root, run, run-script,
    s, se, search, set, shrinkwrap, star, stars, start, stop, t,
    team, test, token, tst, un, uninstall, unpublish, unstar,
    up, update, v, version, view, whoami

npm  -h     quick help on 
npm -l           display full usage info
npm help   search for help on 
npm help npm     involved overview

Specify configs in the ini-formatted file:
    /home/user/.npmrc
or on the command line via: npm  --key value
Config info can be viewed via: npm help config

npm@5.5.1 /usr/local/lib/node_modules/npm
user@hostname:/var/www/html/laravel$ 

After positively sure that the npm can be executed via command line through the above command execution in the terminal, just type the following command pattern to install a new module :

npm install [module_name]

The above command’s execution is shown below upon installing JQuery :

Continue reading “How to Install JQuery for Laravel using npm via Command Line in Linux Operating System”

How to Install jstree for Laravel using npm via Command Line in Linux Operating System

This article is simply an article written to display on how to install jstree using npm. The installation process is actually done by typing a command in the command line available in the operating system. The command line is actually a CLI (Command-Line Interface) available in the operating system such as ‘terminal’. The process is quite simple if ‘npm’ has already been installed. Just type ‘npm’ to make sure that the ‘npm’ utility has already been installed as shown below :

Continue reading “How to Install jstree for Laravel using npm via Command Line in Linux Operating System”

How to Update npm via Command Line in Linux Operating System

This is an article written for specifying on how to update npm which is well-known as a Javascript Package Manager. Furthermore, it is actually a tool that can be considered as a tool specialized on dependency module required upon building on a web-based application.

Actually the event for updating npm utility triggered upon executing a command for installing a package called ‘jquery’ by typing the following command :

Continue reading “How to Update npm via Command Line in Linux Operating System”

All about npm

This is an article which consists of the list of npm’s article available :

  1. What is npm ?.
  2. How to Update npm via Command Line in Linux Operating System .

Installation

  1. How to Install npm
  2. How to Install jstree using npm via Command Line in Linux Operating System .
  3. How to Install JQuery for Laravel using npm via Command Line in Linux Operating System .
  4. How to Install Bootstrap for Laravel using npm via Command Line in Linux Operating System .

What is npm and the explanation

This is an article which is going to describe about what is npm and another several additional explanations on the npm itself.

What is npm ?

It is told that npm stands for Node Package Manager. In this context, npm is actually one of its function is a tool for Javascript developers for managing Javascript libraries, assets, frameworks. Some other claims that npm is a dependency manager for packages needed by a certain web application project. It is considered as the default package manager for Javascript runtime environment Node.js.

How to use npm ?

To be able to use npm, a command line interface is definitely needed. A CLI (Command Line Interface) is actually an interface for executing command in the command line or bash prompt such as a terminal. So, the command itself is typed into a bash prompt in a command line interface’s environment. But first of all, make sure that npm is already installed.

Continue reading “What is npm and the explanation”