Node.js version on the command line? (not the REPL)
Posted By: Anonymous
I want to get the version of Node.js on the command line. I’m expecting to run a command like:
node -version
but that doesn’t work. Does anybody know what the command line would be? (i.e. not the REPL)
Solution
The command line for that is:
node -v
Or
node --version
Note:
If node -v
doesn’t work, but nodejs -v
does, then something’s not set up quite right on your system. See this other question for ways to fix it.
Answered By: Anonymous
Related Articles
- insert tables in dataframe with years from 2000 to…
- How to add Typescript to a Nativescript-Vue project?
- Cannot install packages using node package manager in Ubuntu
- Check synchronously if file/directory exists in Node.js
- python 3.2 UnicodeEncodeError: 'charmap' codec can't…
- Error: the entity type requires a primary key
- NodeJS - Error installing with NPM
- Start redis-server with config file
- Vue js vuecli3 application does not work in ie11…
- Access api from a CMS in Next.js
- ComboBox.SelectedItem giving Null value
- nodejs vs node on ubuntu 12.04
- How do I solve this error, "error while trying to…
- Svelte reactivity not triggering when variable…
- "The system cannot find the file specified"
- Pandas / Python - Compare numerically each row with…
- How to apply rolling t.test with pandas?
- System.Data.SqlClient.SqlException: Login failed for user
- Error: Can't set headers after they are sent to the client
- How to format a phone number in a textfield
- Logging best practices
- Obtain most recent value for based on index in a…
- How do SO_REUSEADDR and SO_REUSEPORT differ?
- How to convert number to words in java
- There is already an object named in the database
- Aurelia npm install: tons of "gyp ERR"
- Sending command line arguments to npm script
- How do I debug "Error: spawn ENOENT" on node.js?
- How can I send emails through SSL SMTP with the .NET…
- Creating a custom counter in Spark based on…
- Capture scroll over element instead of window in Svelte
- Login with facebook android sdk app crash API 4
- Running Node.Js on Android
- Using a Svelte each block, how do you bind:value to…
- Entity Framework Provider type could not be loaded?
- Install Node.js on Ubuntu
- I want to create a SQLite database like in the…
- How to find Control in TemplateField of GridView?
- Web Application Problems (web.config errors) HTTP…
- Node.js: Python not found exception due to node-sass…
- What is Ember RunLoop and how does it work?
- PHP parse/syntax errors; and how to solve them
- Simplest way to create Unix-like continuous pipeline…
- Is it possible to bind the same variable across…
- What are the calling conventions for UNIX &…
- "The remote certificate is invalid according to the…
- Node.js - SyntaxError: Unexpected token import
- 'npm' is not recognized as internal or external…
- The type or namespace name does not exist in the…
- Reduce vs Collect method on Parallel Streams vs…
- How get consecutives weeks in a group in df python?
- Shuffle positions of options in flutter
- data.table vs dplyr: can one do something well the…
- How to Update Database from Assets Folder in App
- How to print binary tree diagram?
- How can I find the product GUID of an installed MSI setup?
- Svelte application bug: global.css overwrites…
- getting error while updating Composer
- Chart creating dynamically. in .net, c#
- placing input values into array object
- How would I run an async Task method synchronously?
- java.net.UnknownHostException: Unable to resolve…
- Why does C++ code for testing the Collatz conjecture…
- What are the undocumented features and limitations…
- Running Python on Windows for Node.js dependencies
- In Svelte, you can use `array = array` to mark the…
- Best practice multi language website
- The type or namespace name 'System' could not be found
- Is it possible to use the frontend-maven-plugin for…
- Vue - Multiple radio inputs, checked value?
- SQL query return data from multiple tables
- How to yum install Node.JS on Amazon Linux
- no match for ‘operator
- Trusting all certificates using HttpClient over HTTPS
- What is a NullReferenceException, and how do I fix it?
- how to add data to a user's profile while not…
- "An exception occurred while processing your…
- How to bind variable declared with Svelte let directive?
- Python Seaborn: how to plot all columns and use…
- Pandas Merging 101
- Error : Ineffective mark-compacts near heap limit…
- The definitive guide to form-based website authentication
- Could not load file or assembly 'System.Data.SQLite'
- Docker compose fails to start a service with an…
- How to select and view database with specific value?
- What does a "Cannot find symbol" or "Cannot resolve…
- Cannot use a leading ../ to exit above the top directory
- Does NodeJS require a multi cores VPS
- How to arguments into the Websocket handler?
- The remote certificate is invalid according to the…
- Runing vue/cli app under docker simple index.html is opened
- RegEx match open tags except XHTML self-contained tags
- An unhandled exception of type…
- Upgrade Node.js to the latest version on Mac OS
- Unexpected end of JSON input while parsing
- Export function returns undefined
- Vue - Render components depending on state of parent data
- Nodejs cannot find installed module on Windows
- Properly closing views in Marionette
- Laravel, Vue.js array empty
Disclaimer: This content is shared under creative common license cc-by-sa 3.0. It is generated from StackExchange Website Network.