First time here? Check out the FAQ!
answered 6 years ago
The documentation helps with that.
It can be accessed using
sage: random_matrix?
and in particular hints at
sage: random_matrix(algorithm='unimodular')
which will return a matrix of determinant one.