nerd icon indicating copy to clipboard operation
nerd copied to clipboard

Installation instructions are incomplete?

Open mavavilj opened this issue 1 year ago • 2 comments

I am new to npm and I thought that one can install it from the zip.

I tried npm install ./nerd-master

It says:

npm install ./nerd-master

added 2 packages in 6s

I think nothing gets installed.

mavavilj avatar Jan 24 '24 09:01 mavavilj

It also doesn't seem to install any binaries?

npm install nerd -g

npm list -g
/usr/local/lib
├── [email protected]
└── [email protected]
npx nerd
/root/.npm/_npx/584ef0ef63dacea8/node_modules/.bin/nerd: 1: /bin: Permission denied
/root/.npm/_npx/584ef0ef63dacea8/node_modules/.bin/nerd: 2: Syntax error: word unexpected (expecting ")")

OTOH,


~/.npm/_npx/584ef0ef63dacea8/node_modules/.bin# ./nerd
./nerd: line 1: /bin: Is a directory
./nerd: line 2: syntax error near unexpected token `c'
./nerd: line 2: `	Copyright (c) 2021 NerdLang - Adrien THIERRY and contributors'

mavavilj avatar Jan 24 '24 09:01 mavavilj

In addition:

https://github.com/NerdLang/nerd#usage

is ambiguous, if the installation does not create a binary.

I thought the binary is equivalent to node nerd.

mavavilj avatar Jan 25 '24 08:01 mavavilj