timonier / node

Node.js JavaScript runtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Node.js JavaScript runtime

If you like / use this project, please let me known by adding a ★ on the GitHub repository.

Installation

# Define installation folder

export INSTALL_DIRECTORY=/usr/bin

# Use local installation

sudo bin/installer install

# Use remote installation

curl --location "https://github.com/timonier/node/raw/master/bin/installer" | sudo sh -s -- install

Note 1: If you do not define INSTALL_DIRECTORY, installer will use in /usr/local/bin.

Note 2: docker-for-mac users have to configure native NFS server.

Usage

angular-cli

Run the command angular-cli:

# See all angular-cli options

ng --help

# Run angular-cli

ng new my-spa

create-react-app

Run the command create-react-app:

# See all create-react-app options

create-react-app --help

# Run create-react-app

create-react-app admin

generate-api-platform-client

Run the command generate-api-platform-client:

# See all generate-api-platform-client options

generate-api-platform-client --help

# Run generate-api-platform-client

generate-api-platform-client "http://127.0.0.1:8000" my-spa

node

Run the command node:

# See all node options

node --help

# Run node-app

node -e 'console.log("Hello World");'

npm

Run the command npm:

# See all npm options

npm help

# Run npm

npm install react

serve

# See all serve options

serve --help

# Run serve

serve /home/morgan/Documents

yarn

Run the command yarn:

# See all yarn options

yarn --help

# Run yarn

yarn add api-platform-admin

Links

About

Node.js JavaScript runtime

License:MIT License


Languages

Language:Shell 75.2%Language:Dockerfile 24.8%