NuTorch
Docs·GitHub

Start

  • Getting started
  • The NuTorch shell
  • Install from source

Core

  • Native ownership
  • Tensors
  • Operations

Deep learning

  • Autograd
  • Neural networks

Reference

  • Creation ops
  • Pointwise ops
  • Comparison ops
  • Reduction ops
  • Linear algebra ops
  • Shape ops
  • Loss ops
  • Autograd ops
  • Utility ops

Book · Introduction

  • Introduction
  • Table of Contents

Book · Installation

  • Default Shell
  • Installing Nu

Book · Getting Started

  • Nushell Cheat Sheet
  • Getting Started
  • Moving Around the System
  • Quick Tour
  • Thinking in Nu

Book · Nu Fundamentals

  • Loading Data
  • Navigating and Accessing Structured Data
  • Nu Fundamentals
  • Pipelines
  • Special Variables
  • Types of Data
  • Working with Lists
  • Working with Records
  • Working with Strings
  • Working with Tables

Book · Programming in Nu

  • Aliases
  • Control Flow
  • Custom Commands
  • Modules
  • Creating Modules
  • Using Modules
  • Operators
  • Overlays
  • Programming in Nu
  • Regular Expressions
  • Scripts
  • Sorting
  • Best Practices
  • Testing your Nushell Code
  • Variables

Book · Nu as a Shell

  • How to Configure 3rd Party Prompts
  • Background Jobs
  • Coloring and Theming in Nu
  • Configuration
  • Custom Completions
  • Directory Stack
  • Environment
  • Externs
  • Hooks
  • Reedline, Nu's Line Editor
  • Nu as a Shell
  • Running System (External) Commands
  • Stdout, Stderr, and Exit Codes

Book · Coming to Nu

  • Coming from Bash
  • Coming from CMD.EXE
  • Coming from PowerShell
  • Coming to Nu
  • Nu map from other shells and domain specific languages
  • Nu Map from Functional Languages
  • Nu Map from Imperative Languages
  • Nushell operator map

Book · Design Notes

  • Design Notes
  • How Nushell Code Gets Run

Book · (Not So) Advanced

  • (Not so) Advanced
  • Creating Your Own Errors
  • Dataframes
  • explore
  • Metadata
  • Parallelism
  • Plugins
  • Standard Library (Preview)

Language

  • Custom Commands
  • Declarations
  • Filters
  • each and par-each
  • Understanding the difference between get and select
  • Filters to select subsets of data
  • where and filter
  • Flow Control
  • break
  • continue
  • if/else
  • loop
  • match
  • return
  • try/catch
  • while
  • Functional Programming Concepts in Nu
  • Helpers and debugging commands
  • Metadata
  • MIME Types for Nushell
  • Operators
  • Pipelines
  • shell/lang-guide/chapters/strings
  • Strings and Text Formatting
  • Types in the Nu Language
  • Basic Types
  • Any
  • Binary
  • Boolean
  • Cell-Path
  • Closure
  • Datetime
  • Duration
  • Filesize
  • Float
  • Glob
  • Integer
  • List
  • Nothing
  • Range
  • Record
  • String
  • Table
  • Types that cannot be used to declare variables
  • Types that are not declarable by the user
  • Block
  • CustomValue
  • Error
  • Path
  • Commands that interact with types
  • Type signatures
  • Variable Scope
  • Readme

Cookbook

  • Custom Completers
  • Direnv
  • External Completers
  • Files
  • Working With Foreign Shell Scripts
  • Git
  • Help
  • HTTP
  • Acting on keypresses using `input listen`
  • jq vs Nushell
  • Module Scenarios
  • Parsing
  • Parsing Git Log
  • Pattern Matching
  • Polars vs Pandas vs Nushell
  • Cookbook
  • Setup
  • Manage SSH passphrases
  • System
  • Advanced table workflows

Commands

  • Command Reference

Commands · dataframe

  • Dataframe
  • polars
  • polars agg-groups
  • polars all-false
  • polars all-true
  • polars append
  • polars arg-max
  • polars arg-min
  • polars arg-sort
  • polars arg-true
  • polars arg-unique
  • polars as-date
  • polars as-datetime
  • polars cache
  • polars cast
  • polars columns
  • polars concat
  • polars contains
  • polars convert-time-zone
  • polars count
  • polars count-null
  • polars cumulative
  • polars cut
  • polars decimal
  • polars drop
  • polars drop-duplicates
  • polars drop-nulls
  • polars dummies
  • polars entropy
  • polars expr-not
  • polars first
  • polars get
  • polars get-day
  • polars get-hour
  • polars get-minute
  • polars get-month
  • polars get-nanosecond
  • polars get-ordinal
  • polars get-second
  • polars get-week
  • polars get-weekday
  • polars get-year
  • polars implode
  • polars integer
  • polars into-df
  • polars into-dtype
  • polars into-nu
  • polars into-repr
  • polars into-schema
  • polars is-duplicated
  • polars is-not-null
  • polars is-null
  • polars is-unique
  • polars last
  • polars len
  • polars list-contains
  • polars lowercase
  • polars map-batches
  • polars math
  • polars math abs
  • polars math bitwise-and
  • polars math bitwise-count-ones
  • polars math bitwise-count-zeros
  • polars math bitwise-leading-ones
  • polars math bitwise-leading-zeros
  • polars math bitwise-or
  • polars math bitwise-trailing-ones
  • polars math bitwise-trailing-zeros
  • polars math bitwise-xor
  • polars math cos
  • polars math dot
  • polars math exp
  • polars math log
  • polars math log1p
  • polars math sign
  • polars math sin
  • polars math sqrt
  • polars max
  • polars mean
  • polars min
  • polars n-unique
  • polars not
  • polars open
  • polars pivot
  • polars profile
  • polars qcut
  • polars query
  • polars replace-time-zone
  • polars reverse
  • polars rolling
  • polars sample
  • polars schema
  • polars set
  • polars set-with-idx
  • polars shape
  • polars slice
  • polars std
  • polars store-get
  • polars store-ls
  • polars store-rm
  • polars str-join
  • polars str-lengths
  • polars str-replace
  • polars str-replace-all
  • polars str-slice
  • polars str-split
  • polars str-strip-chars
  • polars strftime
  • polars struct-json-encode
  • polars sum
  • polars summary
  • polars take
  • polars unnest
  • polars unpivot
  • polars uppercase
  • polars value-counts
  • polars var

Commands · lazyframe

  • Lazyframe
  • polars agg
  • polars collect
  • polars explode
  • polars fill-nan
  • polars fill-null
  • polars filter
  • polars flatten
  • polars group-by
  • polars into-lazy
  • polars join
  • polars join-where
  • polars median
  • polars over
  • polars quantile
  • polars save
  • polars select
  • polars sort-by

Commands · strings

  • Strings
  • char
  • decode
  • detect
  • detect columns
  • detect type
  • encode
  • format
  • format date
  • format duration
  • format filesize
  • format pattern
  • nu-check
  • nu-highlight
  • parse
  • print
  • split
  • split chars
  • split column
  • split row
  • split words
  • str
  • str camel-case
  • str capitalize
  • str contains
  • str distance
  • str downcase
  • str ends-with
  • str escape-regex
  • str expand
  • str index-of
  • str join
  • str kebab-case
  • str length
  • str lowercase
  • str pascal-case
  • str replace
  • str reverse
  • str screaming-snake-case
  • str snake-case
  • str starts-with
  • str stats
  • str substring
  • str title-case
  • str trim
  • str upcase
  • str uppercase
  • url decode
  • url encode

Commands · math

  • Math
  • math
  • math abs
  • math arccos
  • math arccosh
  • math arcsin
  • math arcsinh
  • math arctan
  • math arctanh
  • math avg
  • math cbrt
  • math ceil
  • math cos
  • math cosh
  • math exp
  • math floor
  • math ln
  • math log
  • math max
  • math median
  • math min
  • math mode
  • math product
  • math round
  • math sin
  • math sinh
  • math sqrt
  • math stddev
  • math sum
  • math tan
  • math tanh
  • math variance

Commands · network

  • Network
  • http
  • http delete
  • http get
  • http head
  • http options
  • http patch
  • http pool
  • http post
  • http put
  • port
  • query web
  • query webpage-info
  • url
  • url build-query
  • url join
  • url parse
  • url split-query

Commands · conversions

  • Conversions
  • fill
  • format bits
  • format number
  • into
  • into binary
  • into bool
  • into cell-path
  • into datetime
  • into duration
  • into filesize
  • into float
  • into glob
  • into int
  • into matrix
  • into record
  • into semver
  • into semver-range
  • into sqlite
  • into string
  • into value
  • matrix into-nu
  • split cell-path

Commands · filters

  • all
  • any
  • append
  • Filters
  • chunk-by
  • chunks
  • columns
  • combinations
  • compact
  • default
  • difference
  • drop
  • drop column
  • drop nth
  • each
  • each while
  • enumerate
  • every
  • filter
  • find
  • first
  • flatten
  • get
  • group-by
  • headers
  • insert
  • interleave
  • intersect
  • is-empty
  • is-not-empty
  • items
  • join
  • last
  • length
  • lines
  • matrix
  • matrix add
  • matrix get-col
  • matrix get-row
  • matrix identity
  • matrix map
  • matrix max
  • matrix mean
  • matrix multiply
  • matrix reduce
  • matrix reshape
  • matrix scale
  • matrix set-col
  • matrix set-row
  • matrix subtract
  • matrix sum
  • matrix transpose
  • matrix zeros
  • merge
  • merge deep
  • move
  • par-each
  • permutations
  • prepend
  • query
  • query json
  • query xml
  • reduce
  • reject
  • rename
  • reverse
  • roll
  • roll down
  • roll left
  • roll right
  • roll up
  • rotate
  • select
  • semver
  • semver bump
  • shuffle
  • skip
  • skip until
  • skip while
  • slice
  • sort
  • sort-by
  • split list
  • take
  • take until
  • take while
  • tee
  • transpose
  • union
  • uniq
  • uniq-by
  • update
  • update cells
  • upsert
  • values
  • where
  • window
  • wrap
  • zip

Commands · database

  • Database
  • query db
  • schema
  • stor
  • stor create
  • stor delete
  • stor export
  • stor import
  • stor insert
  • stor open
  • stor reset
  • stor update

Commands · filesystem

  • Filesystem
  • cd
  • cp
  • du
  • glob
  • idx
  • idx dirs
  • idx drop
  • idx files
  • idx find
  • idx init
  • idx search
  • idx status
  • idx watch
  • load-env
  • ls
  • mkdir
  • mktemp
  • mv
  • open
  • rm
  • save
  • start
  • touch
  • watch

Commands · formats

  • Formats
  • decode base32
  • decode base32hex
  • decode base64
  • decode hex
  • encode base32
  • encode base32hex
  • encode base64
  • encode hex
  • from
  • from csv
  • from eml
  • from ics
  • from ini
  • from json
  • from kdl
  • from md
  • from msgpack
  • from msgpackz
  • from nuon
  • from ods
  • from plist
  • from ssv
  • from toml
  • from tsv
  • from url
  • from vcf
  • from xlsx
  • from xml
  • from yaml
  • from yml
  • to
  • to csv
  • to html
  • to json
  • to kdl
  • to md
  • to msgpack
  • to msgpackz
  • to nuon
  • to plist
  • to text
  • to toml
  • to tsv
  • to txt
  • to xml
  • to yaml
  • to yml

Commands · system

  • System
  • complete
  • exec
  • ps
  • registry
  • registry query
  • run-external
  • sys
  • sys cpu
  • sys disks
  • sys host
  • sys mem
  • sys net
  • sys temp
  • sys users
  • uname
  • which

Commands · core

  • alias
  • attr
  • attr category
  • attr complete
  • attr complete external
  • attr deprecated
  • attr example
  • attr search-terms
  • break
  • Core
  • collect
  • commandline
  • commandline complete
  • commandline edit
  • commandline get-cursor
  • commandline set-cursor
  • commandline set-prompt
  • const
  • continue
  • def
  • describe
  • do
  • echo
  • error
  • error make
  • export
  • export alias
  • export const
  • export def
  • export extern
  • export module
  • export use
  • extern
  • for
  • help
  • help aliases
  • help commands
  • help escapes
  • help externs
  • help modules
  • help operators
  • help pipe-and-redirect
  • hide
  • hide-env
  • if
  • ignore
  • is-admin
  • let
  • loop
  • match
  • module
  • mut
  • overlay
  • overlay hide
  • overlay list
  • overlay new
  • overlay use
  • return
  • run
  • scope
  • scope aliases
  • scope commands
  • scope engine-stats
  • scope externs
  • scope modules
  • scope variables
  • source
  • source-env
  • try
  • use
  • version
  • while

Commands · platform

  • abbr
  • abbr list
  • ansi
  • ansi gradient
  • ansi link
  • ansi strip
  • Platform
  • clear
  • input
  • input list
  • input listen
  • is-redirected
  • is-terminal
  • keybindings
  • keybindings default
  • keybindings list
  • keybindings listen
  • kill
  • sleep
  • term
  • term query
  • term size
  • ulimit
  • umask
  • version check
  • whoami

Commands · expression

  • Expression
  • polars arg-where
  • polars as
  • polars col
  • polars concat-str
  • polars datepart
  • polars horizontal
  • polars is-in
  • polars lit
  • polars otherwise
  • polars replace
  • polars selector
  • polars selector all
  • polars selector alpha
  • polars selector alphanumeric
  • polars selector array
  • polars selector binary
  • polars selector boolean
  • polars selector by-dtype
  • polars selector by-index
  • polars selector by-name
  • polars selector categorical
  • polars selector contains
  • polars selector date
  • polars selector datetime
  • polars selector decimal
  • polars selector digit
  • polars selector duration
  • polars selector empty
  • polars selector ends-with
  • polars selector enum
  • polars selector exclude
  • polars selector first
  • polars selector float
  • polars selector integer
  • polars selector last
  • polars selector list
  • polars selector matches
  • polars selector nested
  • polars selector not
  • polars selector numeric
  • polars selector object
  • polars selector signed-integer
  • polars selector starts-with
  • polars selector string
  • polars selector struct
  • polars selector temporal
  • polars selector unsigned-integer
  • polars truncate
  • polars when

Commands · dataframe or lazyframe

  • polars filter-with
  • polars rename
  • polars shift
  • polars unique
  • polars with-column

Commands · debug

  • ast
  • Debug
  • config flatten
  • debug
  • debug env
  • debug experimental-options
  • debug info
  • debug profile
  • explain
  • inspect
  • metadata
  • metadata access
  • metadata set
  • panic
  • timeit
  • view
  • view blocks
  • view files
  • view ir
  • view source
  • view span

Commands · default

  • banner
  • Default
  • inc
  • peek
  • pwd
  • run-internal

Commands · path

  • Path
  • path
  • path basename
  • path dirname
  • path exists
  • path expand
  • path join
  • path parse
  • path relative-to
  • path self
  • path split
  • path type

Commands · viewers

  • Viewers
  • explore
  • explore config
  • explore regex
  • grid
  • table

Commands · bits

  • bits
  • bits and
  • bits not
  • bits or
  • bits rol
  • bits ror
  • bits shl
  • bits shr
  • bits xor
  • Bits

Commands · hash

  • Hash
  • hash
  • hash md5
  • hash sha256

Commands · random

  • Random
  • random
  • random binary
  • random bool
  • random chars
  • random float
  • random int
  • random pass
  • random uuid

Commands · plugin

  • Plugin
  • plugin
  • plugin add
  • plugin list
  • plugin rm
  • plugin stop
  • plugin use

Commands · experimental

  • Experimental
  • job
  • job describe
  • job flush
  • job id
  • job kill
  • job list
  • job recv
  • job send
  • job spawn
  • job unfreeze
  • unlet

Commands · bytes

  • bytes
  • bytes add
  • bytes at
  • bytes build
  • bytes collect
  • bytes ends-with
  • bytes index-of
  • bytes length
  • bytes remove
  • bytes replace
  • bytes reverse
  • bytes split
  • bytes starts-with
  • Bytes

Commands · env

  • Env
  • config
  • config env
  • config nu
  • config reset
  • config use-colors
  • export-env
  • with-env

Commands · date

  • Date
  • date
  • date from-human
  • date humanize
  • date list-timezone
  • date now
  • date to-timezone

Commands · history

  • History
  • history
  • history import
  • history session

Commands · generators

  • cal
  • Generators
  • generate
  • seq
  • seq char
  • seq date

Commands · misc

  • Misc
  • tutor

Commands · removed

  • Removed
  • date format
  • let-env

Commands · shells

  • Shells
  • exit

Commands · prompt

  • Prompt
  • gstat

Commands · chart

  • Chart
  • histogram

Commands · dataframe_or_lazyframe

  • Dataframe Or Lazyframe

Commands · deprecated

  • Deprecated

commandline get-cursor

For core.

Get the current cursor position.

Command Type

built-in

Signature

> commandline get-cursor {flags}

Input/output types:

input output
nothing int

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.

← commandline editcommandline set-cursor →
Astrohacker

Docs·GitHub

Terms·Privacy·Security

MIT licensed

© 2026 Astrohacker Inc.·Austin, TX