403Webshell
Server IP : 104.21.4.30  /  Your IP : 104.23.243.115
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/usr/libexec/nodenv/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/libexec/nodenv/nodenv-global
#!/usr/bin/env bash
#
# Summary: Set or show the global Node version
#
# Usage: nodenv global <version>
#
# Sets the global Node version. You can override the global version at
# any time by setting a directory-specific version with `nodenv local'
# or by setting the `NODENV_VERSION' environment variable.
#
# <version> should be a string matching a Node version known to nodenv.
# The special version string `system' will use your default system Node.
# Run `nodenv versions' for a list of available Node versions.

set -e
[ -n "$NODENV_DEBUG" ] && set -x

# Provide nodenv completions
if [ "$1" = "--complete" ]; then
  echo --unset
  echo system
  exec nodenv-versions --bare
fi

NODENV_VERSION="$1"
NODENV_VERSION_FILE="${NODENV_ROOT:?}/version"

if [ "$1" = "--unset" ]; then
  exec rm -f "$NODENV_VERSION_FILE"
fi

if [ -n "$NODENV_VERSION" ]; then
  nodenv-version-file-write "$NODENV_VERSION_FILE" "$NODENV_VERSION"
else
  nodenv-version-file-read "$NODENV_VERSION_FILE" || echo system
fi

Youez - 2016 - github.com/yon3zu
LinuXploit